Skip to content

Commit

Permalink
chore: Fix some warnings on beta/nightly toolchains
Browse files Browse the repository at this point in the history
  • Loading branch information
np22-jpg committed Nov 3, 2024
1 parent 23315b6 commit d39f7d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/src/worker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ pub fn fork_main_into_worker(
}
ForkResult::Child => {
trace!("child({}):\twill spawn a child", unsafe { libc::getpid() });
Command::new(executable_path)
let _ = Command::new(executable_path)
.arg("worker")
.arg("--id")
.arg(worker_id)
Expand Down
2 changes: 1 addition & 1 deletion command/src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ where
})
}

pub fn parse_several_requests<'a, T>(input: &'a [u8]) -> IResult<&[u8], Vec<T>>
pub fn parse_several_requests<'a, T>(input: &'a [u8]) -> IResult<&'a [u8], Vec<T>>
where
T: serde::de::Deserialize<'a>,
{
Expand Down

0 comments on commit d39f7d4

Please sign in to comment.