summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ripple/fossil/src/bin/mount.rs36
1 files changed, 18 insertions, 18 deletions
diff --git a/ripple/fossil/src/bin/mount.rs b/ripple/fossil/src/bin/mount.rs
index 2f96a9c..3a5dbce 100644
--- a/ripple/fossil/src/bin/mount.rs
+++ b/ripple/fossil/src/bin/mount.rs
@@ -26,43 +26,43 @@ fn file_attr(ino: u64, node: &memtree::Node) -> fuser::FileAttr {
 
 	let blksize = 512;
 	fuser::FileAttr {
-		/// Inode number
+		// Inode number
 		ino,
-		/// Size in bytes
+		// Size in bytes
 		size,
-		/// Size in blocks
-        // TODO(edef): switch to u64::div_ceil
+		// Size in blocks
+		// TODO(edef): switch to u64::div_ceil
 		blocks: (size + blksize as u64 - 1) / (blksize as u64),
-		/// Time of last access
+		// Time of last access
 		atime: *EPOCH_PLUS_ONE,
-		/// Time of last modification
+		// Time of last modification
 		mtime: *EPOCH_PLUS_ONE,
-		/// Time of last change
+		// Time of last change
 		ctime: *EPOCH_PLUS_ONE,
-		/// Time of creation (macOS only)
+		// Time of creation (macOS only)
 		crtime: *EPOCH_PLUS_ONE,
-		/// Kind of file (directory, file, pipe, etc)
+		// Kind of file (directory, file, pipe, etc)
 		kind: match node {
 			memtree::Node::Directory(_) => fuser::FileType::Directory,
 			memtree::Node::File(_) => fuser::FileType::RegularFile,
-			memtree::Node::Link {..}=> fuser::FileType::Symlink,
+			memtree::Node::Link { .. } => fuser::FileType::Symlink,
 		},
-		/// Permissions
-		perm: match node{
+		// Permissions
+		perm: match node {
 			memtree::Node::Directory(_) => 0o755,
 			_ => 0o644,
 		},
-		/// Number of hard links
+		// Number of hard links
 		nlink: 1,
-		/// User id
+		// User id
 		uid: 1000,
-		/// Group id
+		// Group id
 		gid: 100,
-		/// Rdev
+		// Rdev
 		rdev: 0,
-		/// Block size
+		// Block size
 		blksize,
-		/// Flags (macOS only, see chflags(2))
+		// Flags (macOS only, see chflags(2))
 		flags: 0,
 	}
 }