removing unnecessary lifetime
This commit is contained in:
parent
9e1f102540
commit
c647301662
@ -136,7 +136,7 @@ mod tests {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn do_the_walk<'a>(c: &'a (dyn Walkable<Output = &str> + 'a), path: &str) -> &'a str {
|
fn do_the_walk<'a>(c: &'a (dyn Walkable<Output = &str>), path: &str) -> &'a str {
|
||||||
c.walk(path)
|
c.walk(path)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user