From c64730166216a3738adaf19c31ff2cbd678c97b8 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Sat, 11 Apr 2020 21:08:33 -0400 Subject: [PATCH] removing unnecessary lifetime --- src/renderer/renderer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/renderer.rs b/src/renderer/renderer.rs index 85cf017..6bd7778 100644 --- a/src/renderer/renderer.rs +++ b/src/renderer/renderer.rs @@ -136,7 +136,7 @@ mod tests { } } - fn do_the_walk<'a>(c: &'a (dyn Walkable + 'a), path: &str) -> &'a str { + fn do_the_walk<'a>(c: &'a (dyn Walkable), path: &str) -> &'a str { c.walk(path) }