Skip to content

Commit

Permalink
Set edition 2021
Browse files Browse the repository at this point in the history
  • Loading branch information
sourcefrog committed Aug 27, 2022
1 parent 11f7060 commit ad01a1d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "cargo-mutants"
version = "1.0.1-pre"
edition = "2018"
edition = "2021"
authors = ["Martin Pool"]
license = "MIT"
description = "Find inadequately-tested code that can be removed without any tests failing."
Expand Down
1 change: 0 additions & 1 deletion src/cargo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ pub fn cargo_argv(package_name: Option<&str>, phase: Phase, options: &Options) -
fn terminate_child(mut child: Popen, log_file: &mut LogFile) -> Result<()> {
use nix::errno::Errno;
use nix::sys::signal::{killpg, Signal};
use std::convert::TryInto;

let pid = nix::unistd::Pid::from_raw(child.pid().expect("child has a pid").try_into().unwrap());
info!("terminating cargo process {}", pid);
Expand Down

0 comments on commit ad01a1d

Please sign in to comment.