Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rust-agent: Remove 'mut' where not needed
Addresses the following warning (and a few similar ones): warning: variable does not need to be mutable --> rustjail/src/container.rs:369:9 | 369 | let mut oci_process: oci::Process = serde_json::from_str(process_str)?; | ----^^^^^^^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default Fixes: #750 Signed-off-by: Christophe de Dinechin <dinechin@redhat.com>
- Loading branch information
Showing
2 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters