removing unnecessary lifetime

This commit is contained in:
Tom Alexander 2020-04-11 21:08:33 -04:00
parent 9e1f102540
commit c647301662
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -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)
} }