diff options
| author | Alejandro Soto <alejandro@34project.org> | 2022-01-04 00:45:49 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2022-01-04 00:45:49 -0600 |
| commit | 32958e3116c6afe91d4b358c310737e2619e49b1 (patch) | |
| tree | d6c89096e2f1e8a245242b7fe8fe3598c7be2862 /examples/ext2.rs | |
| parent | b1ffa39a060d68d162e3348e339dc2ea1163ff28 (diff) | |
Add example: passthrough
Diffstat (limited to 'examples/ext2.rs')
| -rw-r--r-- | examples/ext2.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ext2.rs b/examples/ext2.rs index b085960..f82b34a 100644 --- a/examples/ext2.rs +++ b/examples/ext2.rs @@ -164,7 +164,7 @@ impl Ext2 { } let ino = Ino(header.inode as u64); - let name = OsStr::from_bytes(&bytes[..header.name_len as usize]).into(); + let name = OsStr::from_bytes(&bytes[..header.name_len as usize]); let inode = Resolved { ino, |
