Skip to content

Commit 1d57271

Browse files
committed
status: Fix compat with older rust
Signed-off-by: Colin Walters <[email protected]>
1 parent 9268f07 commit 1d57271

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/lib/src/status.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ pub(crate) async fn composefs_deployment_status() -> Result<Host> {
398398
.ok_or_else(|| anyhow::anyhow!("Failed to find composefs parameter in kernel cmdline"))?;
399399
let booted_image_verity = composefs_arg
400400
.value
401-
.and_then(|v| str::from_utf8(v).ok())
401+
.and_then(|v| std::str::from_utf8(v).ok())
402402
.ok_or_else(|| anyhow::anyhow!("Missing value for composefs"))?;
403403

404404
let sysroot = cap_std::fs::Dir::open_ambient_dir("/sysroot", cap_std::ambient_authority())

0 commit comments

Comments
 (0)