diff --git a/crates/libcontainer/src/container/tenant_builder.rs b/crates/libcontainer/src/container/tenant_builder.rs index 4e5d7f4d..f61abcf9 100644 --- a/crates/libcontainer/src/container/tenant_builder.rs +++ b/crates/libcontainer/src/container/tenant_builder.rs @@ -165,7 +165,7 @@ impl TenantContainerBuilder { } } _ => { - err_str_buf.extend(buf.into_iter()); + err_str_buf.extend(buf); } } } diff --git a/crates/libcontainer/src/syscall/linux.rs b/crates/libcontainer/src/syscall/linux.rs index f5a6164b..1fc24734 100644 --- a/crates/libcontainer/src/syscall/linux.rs +++ b/crates/libcontainer/src/syscall/linux.rs @@ -612,7 +612,7 @@ mod tests { drop(file); // The stdio fds should also be contained in the list of opened fds. - if !vec![0, 1, 2] + if ![0, 1, 2] .iter() .all(|&stdio_fd| open_fds.iter().any(|&open_fd| open_fd == stdio_fd)) { diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 873a49d6..3d0dec0c 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] profile="default" -channel="1.71.0" +channel="1.72.0"