From ba22d6e2bd3ecaeeec14792f783aeddb3d2285ca Mon Sep 17 00:00:00 2001 From: yihuaf Date: Fri, 30 Jul 2021 04:16:32 +0200 Subject: [PATCH] fix cargo fmt --- src/container/builder_impl.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/container/builder_impl.rs b/src/container/builder_impl.rs index 975b138ee4..c36b0bf21e 100644 --- a/src/container/builder_impl.rs +++ b/src/container/builder_impl.rs @@ -175,9 +175,7 @@ fn container_init(args: ContainerInitArgs) -> Result<()> { // set limits and namespaces to the process for rlimit in spec.process.rlimits.iter() { - command - .set_rlimit(rlimit) - .context("failed to set rlimit")?; + command.set_rlimit(rlimit).context("failed to set rlimit")?; } command