Skip to content

Commit e9cb582

Browse files
committed
fix: linters
1 parent 21cba76 commit e9cb582

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/graph.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ where
263263
}
264264

265265
/// Returns iterator over all edges connecting start and end node.
266+
#[allow(clippy::type_complexity)]
266267
pub fn edges_connecting(
267268
&self,
268269
start: NodeIndex<Ix>,
@@ -279,6 +280,7 @@ where
279280
}
280281

281282
/// Provides iterator over all edges and their indices.
283+
#[allow(clippy::type_complexity)]
282284
pub fn edges_iter(&self) -> impl Iterator<Item = (EdgeIndex<Ix>, &Edge<N, E, Ty, Ix, Dn, De>)> {
283285
self.g.edge_references().map(|e| (e.id(), e.weight()))
284286
}

src/graph_view.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ pub struct GraphView<
8484
_marker: PhantomData<(Nd, Ed, L, S)>,
8585
}
8686

87-
impl<'a, N, E, Ty, Ix, Nd, Ed, S, L> Widget for &mut GraphView<'a, N, E, Ty, Ix, Nd, Ed, S, L>
87+
impl<N, E, Ty, Ix, Nd, Ed, S, L> Widget for &mut GraphView<'_, N, E, Ty, Ix, Nd, Ed, S, L>
8888
where
8989
N: Clone,
9090
E: Clone,

0 commit comments

Comments
 (0)