Skip to content

Commit

Permalink
thanks clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Mar 6, 2023
1 parent adf99e9 commit 2f6fb47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ pub fn with<T: AsRef<OsStr>>(path: T, app: impl Into<String>) -> io::Result<()>
/// # Ok(())
/// # }
/// ```
pub fn commands<'a, T: AsRef<OsStr>>(path: T) -> Vec<Command> {
pub fn commands<T: AsRef<OsStr>>(path: T) -> Vec<Command> {
os::commands(path)
}

Expand All @@ -180,7 +180,7 @@ pub fn commands<'a, T: AsRef<OsStr>>(path: T) -> Vec<Command> {
/// # Ok(())
/// # }
/// ```
pub fn with_command<'a, T: AsRef<OsStr>>(path: T, app: impl Into<String>) -> Command {
pub fn with_command<T: AsRef<OsStr>>(path: T, app: impl Into<String>) -> Command {
os::with_command(path, app)
}

Expand Down

0 comments on commit 2f6fb47

Please sign in to comment.