From 2ff6d1af902fb1b7d969e6f043798c1ebcb9ba90 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 4 Oct 2019 10:39:23 +0300 Subject: Drop: unnecessary lifetime annotations --- src/step.rs | 6 +++--- 1 file 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 } -- cgit v1.2.1