removing unnecessary lifetime

This commit is contained in:
Tom Alexander
2020-04-11 21:08:33 -04:00
parent 9e1f102540
commit c647301662

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