mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-21 09:25:19 +00:00
safe-path: Do cargo check and reduce warnings
Reduce warings caused by non-formatted or unchecked operations. Signed-off-by: alex.lyn <alex.lyn@antgroup.com>
This commit is contained in:
parent
683d673f4f
commit
e05197e81c
@ -355,6 +355,7 @@ mod tests {
|
||||
.read(false)
|
||||
.write(true)
|
||||
.create(true)
|
||||
.truncate(true)
|
||||
.mode(0o200)
|
||||
.open(&path)
|
||||
.unwrap();
|
||||
@ -376,6 +377,7 @@ mod tests {
|
||||
.read(false)
|
||||
.write(true)
|
||||
.create(true)
|
||||
.truncate(true)
|
||||
.mode(0o200)
|
||||
.open(&path)
|
||||
.unwrap();
|
||||
|
Loading…
Reference in New Issue
Block a user