Skip to content
This repository was archived by the owner on Jul 3, 2023. It is now read-only.

Commit ad095a9

Browse files
committed
clippy
1 parent 14f47d2 commit ad095a9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/monitor/circuit_graph.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ impl Node {
196196
}
197197

198198
/// Lookup node in the subtree with the root in `self` by path.
199-
fn node_ref<'a>(&self, mut path: slice::Iter<'a, NodeId>) -> Option<&Node> {
199+
fn node_ref(&self, mut path: slice::Iter<NodeId>) -> Option<&Node> {
200200
match path.next() {
201201
None => Some(self),
202202
Some(node_id) => match &self.kind {
@@ -207,7 +207,7 @@ impl Node {
207207
}
208208

209209
/// Lookup node in the subtree with the root in `self` by path.
210-
fn node_mut<'a>(&mut self, mut path: slice::Iter<'a, NodeId>) -> Option<&mut Node> {
210+
fn node_mut(&mut self, mut path: slice::Iter<NodeId>) -> Option<&mut Node> {
211211
match path.next() {
212212
None => Some(self),
213213
Some(node_id) => match &mut self.kind {

src/operator/aggregate/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -434,10 +434,10 @@ where
434434
/// aggregation logic in the `Aggregator` trait. The second iteration
435435
/// is only needed inside nested scopes and can in the future be
436436
/// optimized to terminate early.
437-
fn eval_key<'s>(
437+
fn eval_key(
438438
&mut self,
439439
key: &Z::Key,
440-
input_cursor: &mut IT::Cursor<'s>,
440+
input_cursor: &mut IT::Cursor<'_>,
441441
output: &mut Vec<(Z::Key, Option<A::Output>)>,
442442
) {
443443
// println!(

0 commit comments

Comments
 (0)