diff options
author | Lars Wirzenius <liw@liw.fi> | 2019-10-04 10:39:23 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2019-10-04 10:39:23 +0300 |
commit | 2ff6d1af902fb1b7d969e6f043798c1ebcb9ba90 (patch) | |
tree | 0cceb61496504d8dd52d75fb7a0fc4c64694b8ae | |
parent | b42f5d49d7e7d76b2120183e65e966048794a176 (diff) | |
download | roadmap-2ff6d1af902fb1b7d969e6f043798c1ebcb9ba90.tar.gz |
Drop: unnecessary lifetime annotations
-rw-r--r-- | src/step.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/step.rs b/src/step.rs index 4140471..a37f23c 100644 --- a/src/step.rs +++ b/src/step.rs @@ -25,17 +25,17 @@ impl Step { } /// Return the name of a step. - pub fn name<'a>(&'a self) -> &'a str { + pub fn name(&self) -> &str { &self.name } /// Return the label of a step. - pub fn label<'a>(&'a self) -> &'a str { + pub fn label(&self) -> &str { &self.label } /// Return the status of a step. - pub fn status<'a>(&'a self) -> Status { + pub fn status(&self) -> Status { self.status } |