We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aaa7868 + 966bd31 commit 52bae94Copy full SHA for 52bae94
.github/workflows/rust.yml
@@ -17,8 +17,9 @@ jobs:
17
- uses: actions/checkout@v2
18
- uses: actions-rs/toolchain@v1.0.6
19
with:
20
- toolchain: stable
+ toolchain: nightly
21
components: rustfmt
22
+ override: true
23
- name: Check formatting
24
run: |
25
rm -rf .cargo
rustfmt.toml
@@ -0,0 +1,2 @@
1
+unstable_features = true
2
+imports_granularity = "Crate"
src/linux/cgroup/v1.rs
@@ -1,7 +1,9 @@
//! Implements Cgroup Driver for V1 cgroups
use crate::linux::cgroup::{CgroupError, ResourceLimits};
3
-use std::os::unix::io::{IntoRawFd, RawFd};
4
-use std::path::PathBuf;
+use std::{
+ os::unix::io::{IntoRawFd, RawFd},
5
+ path::PathBuf,
6
+};
7
8
impl super::Driver {
9
fn v1_write_file(
0 commit comments