commit | 57218a1a4fa4b10b75938219c1ec351ec7e6253b | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Thu Jul 13 10:22:11 2023 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Jul 13 10:22:11 2023 +0000 |
tree | b049dc469c193d85861fbc671102b8263bce3d87 | |
parent | 8a846aed842a6ade6d007eccb9cfc311eccfe877 [diff] | |
parent | 321e1288af89a72511941b738ff9bf4b1a93ad56 [diff] |
Merge "Fix errors from rustc 1.71.0" into main
diff --git a/zipfuse/src/inode.rs b/zipfuse/src/inode.rs index ea63422..ef48389 100644 --- a/zipfuse/src/inode.rs +++ b/zipfuse/src/inode.rs
@@ -210,7 +210,7 @@ parent = found; // Update the mode if this is a directory leaf. if !is_file && is_leaf { - let mut inode = table.get_mut(parent).unwrap(); + let inode = table.get_mut(parent).unwrap(); inode.mode = file.unix_mode().unwrap_or(DEFAULT_DIR_MODE); } continue;