Skip to content

Commit 3535a5a

Browse files
committed
fix(format): run cargo fmt
1 parent a3c9d27 commit 3535a5a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compio-fs/src/file.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,10 @@ impl File {
9595
/// Changes the permissions on the underlying file.
9696
#[cfg(unix)]
9797
pub async fn set_permissions(&self, perm: Permissions) -> io::Result<()> {
98-
use compio_driver::syscall;
9998
use std::os::unix::fs::PermissionsExt;
10099

100+
use compio_driver::syscall;
101+
101102
let file = self.inner.try_clone()?;
102103
compio_runtime::spawn_blocking(move || {
103104
syscall!(libc::fchmod(file.as_raw_fd(), perm.mode() as libc::mode_t))?;

0 commit comments

Comments
 (0)