瀏覽代碼

fix: missing word in comment

Signed-off-by: ariasuni <aria@ariasuni.eu>
ariasuni 9 月之前
父節點
當前提交
a602161cba
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/fs/dir.rs

+ 1 - 1
src/fs/dir.rs

@@ -35,7 +35,7 @@ impl Dir {
     ///
     /// This function does not attempt to read the contents of the directory; it merely
     /// initializes an instance of `Dir` with an empty `DirEntry` list and the specified path.
-    /// To populate the `Dir` object with actual directory contents, use the `read`.
+    /// To populate the `Dir` object with actual directory contents, use the `read` function.
     pub fn new(path: PathBuf) -> Self {
         Self {
             contents: vec![],