Skip to content

Commit 5abed8e

Browse files
committed
chore: run cargo fmt
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
1 parent e780715 commit 5abed8e

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

src/mount.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,10 @@ impl Mountable for MountSpec {
272272
.as_ref()
273273
.map(|d| {
274274
CString::new(d.as_str()).map_err(|e| {
275-
anyhow!("mount data '{d}' for {} contains an interior NUL byte: {e}", self.target)
275+
anyhow!(
276+
"mount data '{d}' for {} contains an interior NUL byte: {e}",
277+
self.target
278+
)
276279
})
277280
})
278281
.transpose()?;

src/wrap.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -750,8 +750,10 @@ impl ExecutableSpec {
750750
and its arguments)"
751751
),
752752
Some(libc::EACCES) => {
753-
format!(" (is '{program}' marked executable, and are all \
754-
leading path components accessible?)")
753+
format!(
754+
" (is '{program}' marked executable, and are all \
755+
leading path components accessible?)"
756+
)
755757
}
756758
Some(libc::ENOEXEC) => format!(
757759
" (is '{program}' a valid executable for this architecture, \

0 commit comments

Comments
 (0)