Skip to content

Commit 085b053

Browse files
committed
make clippy happy
1 parent 18bfb35 commit 085b053

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
@@ -214,7 +214,7 @@ pub struct Command<'w, 'pl> {
214214
source_dir_mount_kind: MountKind,
215215
}
216216

217-
impl<'w, 'pl> Command<'w, 'pl> {
217+
impl<'w> Command<'w, '_> {
218218
/// Create a new, unsandboxed command.
219219
pub fn new<R: Runnable>(workspace: &'w Workspace, binary: R) -> Self {
220220
binary.prepare_command(Self::new_inner(binary.name(), Some(workspace), None))
@@ -331,10 +331,10 @@ impl<'w, 'pl> Command<'w, 'pl> {
331331
/// # Ok(())
332332
/// # }
333333
/// ```
334-
pub fn process_lines<'pl2>(
334+
pub fn process_lines<'pl>(
335335
self,
336-
f: &'pl2 mut dyn FnMut(&str, &mut ProcessLinesActions),
337-
) -> Command<'w, 'pl2> {
336+
f: &'pl mut dyn FnMut(&str, &mut ProcessLinesActions),
337+
) -> Command<'w, 'pl> {
338338
Command {
339339
process_lines: Some(f),
340340
..self

0 commit comments

Comments
 (0)