diff options
author | Lars Wirzenius <liw@liw.fi> | 2019-10-03 12:39:49 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2019-10-03 12:39:49 +0300 |
commit | 65a1a8ad92f886975f1eedf05cd690368b2fdf8e (patch) | |
tree | ba52a0a2f700b0aec258ea8370b17635d4964d76 | |
parent | 19773a0959364ef7c54f14049c07b030c443cd1a (diff) | |
download | roadmap-65a1a8ad92f886975f1eedf05cd690368b2fdf8e.tar.gz |
Change: drop unnecessary lifetime annotations from step_names
-rw-r--r-- | src/roadmap.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/roadmap.rs b/src/roadmap.rs index 7b78572..7924874 100644 --- a/src/roadmap.rs +++ b/src/roadmap.rs @@ -25,7 +25,7 @@ impl Roadmap { } /// Return list of step names. - pub fn step_names<'a>(&'a self) -> impl Iterator<Item=&str> { + pub fn step_names(&self) -> impl Iterator<Item=&str> { self.steps.iter().map(|step| step.name()) } |