summaryrefslogtreecommitdiff
path: root/test/test_fcntl.rs
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_fcntl.rs')
-rw-r--r--test/test_fcntl.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_fcntl.rs b/test/test_fcntl.rs
index e51044a0..fb2a5e2e 100644
--- a/test/test_fcntl.rs
+++ b/test/test_fcntl.rs
@@ -559,7 +559,7 @@ mod test_posix_fallocate {
let err = posix_fallocate(rd as RawFd, 0, 100).unwrap_err();
match err {
Errno::EINVAL | Errno::ENODEV | Errno::ESPIPE | Errno::EBADF => (),
- errno => panic!("unexpected errno {}", errno,),
+ errno => panic!("unexpected errno {errno}",),
}
}
}