Skip to content

Commit da3eaa0

Browse files
committed
Fix clippy errors
1 parent 247cb16 commit da3eaa0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/toolchain.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ impl Toolchain {
399399
/// # Ok(())
400400
/// # }
401401
/// ```
402-
pub fn cargo<'a>(&'a self) -> impl Runnable + 'a {
402+
pub fn cargo(&self) -> impl Runnable + '_ {
403403
RustupProxy {
404404
toolchain: self,
405405
name: "cargo",
@@ -423,7 +423,7 @@ impl Toolchain {
423423
/// # Ok(())
424424
/// # }
425425
/// ```
426-
pub fn rustc<'a>(&'a self) -> impl Runnable + 'a {
426+
pub fn rustc(&self) -> impl Runnable + '_ {
427427
RustupProxy {
428428
toolchain: self,
429429
name: "rustc",

0 commit comments

Comments
 (0)