mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
build: treewide: fmt for edition 2024
`cargo +nightly fmt` Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com
This commit is contained in:
committed by
Bo Chen
parent
061351d82d
commit
363273111a
+3
-3
@@ -9,8 +9,8 @@ use std::path::Path;
|
||||
#[cfg(test)]
|
||||
use landlock::make_bitflags;
|
||||
use landlock::{
|
||||
path_beneath_rules, Access, AccessFs, BitFlags, Compatible, Ruleset, RulesetAttr,
|
||||
RulesetCreated, RulesetCreatedAttr, RulesetError, ABI,
|
||||
ABI, Access, AccessFs, BitFlags, Compatible, Ruleset, RulesetAttr, RulesetCreated,
|
||||
RulesetCreatedAttr, RulesetError, path_beneath_rules,
|
||||
};
|
||||
use thiserror::Error;
|
||||
|
||||
@@ -59,7 +59,7 @@ impl TryFrom<&str> for LandlockAccess {
|
||||
_ => {
|
||||
return Err(LandlockError::InvalidLandlockAccess(
|
||||
format!("Invalid access: {c}").to_string(),
|
||||
))
|
||||
));
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user