Skip to content

Commit 6e5ca6e

Browse files
committed
make clippy happy
1 parent 0173b2d commit 6e5ca6e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/cmd/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ pub struct Command<'w, 'pl> {
213213
log_output: bool,
214214
}
215215

216-
impl<'w, 'pl> Command<'w, 'pl> {
216+
impl<'w> Command<'w, '_> {
217217
/// Create a new, unsandboxed command.
218218
pub fn new<R: Runnable>(workspace: &'w Workspace, binary: R) -> Self {
219219
binary.prepare_command(Self::new_inner(binary.name(), Some(workspace), None))
@@ -329,10 +329,10 @@ impl<'w, 'pl> Command<'w, 'pl> {
329329
/// # Ok(())
330330
/// # }
331331
/// ```
332-
pub fn process_lines<'pl2>(
332+
pub fn process_lines<'pl>(
333333
self,
334-
f: &'pl2 mut dyn FnMut(&str, &mut ProcessLinesActions),
335-
) -> Command<'w, 'pl2> {
334+
f: &'pl mut dyn FnMut(&str, &mut ProcessLinesActions),
335+
) -> Command<'w, 'pl> {
336336
Command {
337337
process_lines: Some(f),
338338
..self

0 commit comments

Comments
 (0)