We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3766b0 commit 0a14d16Copy full SHA for 0a14d16
src/impls/overlay.rs
@@ -63,7 +63,7 @@ impl OverlayFS {
63
return self.write_layer().join(".whiteout/_wo");
64
}
65
self.write_layer()
66
- .join(&format!(".whiteout/{}_wo", &path[1..]))
+ .join(format!(".whiteout/{}_wo", &path[1..]))
67
68
69
fn ensure_has_parent(&self, path: &str) -> VfsResult<()> {
@@ -95,7 +95,7 @@ impl FileSystem for OverlayFS {
95
96
97
// remove whiteout entries that have been removed
98
- let whiteout_path = self.write_layer().join(&format!(".whiteout{}", path))?;
+ let whiteout_path = self.write_layer().join(format!(".whiteout{}", path))?;
99
if whiteout_path.exists()? {
100
for path in whiteout_path.read_dir()? {
101
let filename = path.filename();
0 commit comments