Apply suggestions - keep Visitable on astar
diff --git a/src/astar.rs b/src/astar.rs
index accfc96..21e2dc4 100644
--- a/src/astar.rs
+++ b/src/astar.rs
@@ -3,7 +3,7 @@
 
 use std::hash::Hash;
 
-use super::visit::{EdgeRef, GraphBase, IntoEdges};
+use super::visit::{EdgeRef, GraphBase, IntoEdges, Visitable};
 use crate::scored::MinScored;
 
 use crate::algo::Measure;
@@ -71,7 +71,7 @@
     mut estimate_cost: H,
 ) -> Option<(K, Vec<G::NodeId>)>
 where
-    G: IntoEdges,
+    G: IntoEdges + Visitable,
     IsGoal: FnMut(G::NodeId) -> bool,
     G::NodeId: Eq + Hash,
     F: FnMut(G::EdgeRef) -> K,