You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-07-04 21:58:46 +02:00
Consistently inline formatting arguments (#2413)
This commit is contained in:
@ -91,7 +91,7 @@ impl DirectoryIterator {
|
||||
// SAFETY: path.as_ptr() cannot be NULL.
|
||||
let dir = unsafe { ffi::opendir(path.as_ptr()) };
|
||||
if dir.is_null() {
|
||||
Err(format!("Could not open {:?}", path))
|
||||
Err(format!("Could not open {path:?}"))
|
||||
} else {
|
||||
Ok(DirectoryIterator { path, dir })
|
||||
}
|
||||
|
Reference in New Issue
Block a user