From 204abb9c5d9655d33fe567adaf3720205a84fc57 Mon Sep 17 00:00:00 2001 From: Yousef Moazzam Date: Sat, 24 May 2025 21:22:54 +0100 Subject: [PATCH] Add node type bits info to node mode docstrings --- src/node.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/node.rs b/src/node.rs index b2566a37e4..2963ab2d3a 100644 --- a/src/node.rs +++ b/src/node.rs @@ -89,7 +89,7 @@ type BlockListL4 = BlockList; #[repr(C, packed)] pub struct Node { /// This node's type & permissions. - /// - first four bits are permissions + /// - first four bits are the node's type /// - next four bits are permissions for the file's user /// - next four bits are permissions for the file's group /// - last four bits are permissions for everyone else @@ -223,7 +223,7 @@ impl Node { } /// This node's type & permissions. - /// - first four bits are permissions + /// - first four bits are the node's type /// - next four bits are permissions for the file's user /// - next four bits are permissions for the file's group /// - last four bits are permissions for everyone else