diff --git a/core/src/docs/rfcs/3243_list_prefix.md b/core/src/docs/rfcs/3243_list_prefix.md index 8ae49c26483..653ae518a51 100644 --- a/core/src/docs/rfcs/3243_list_prefix.md +++ b/core/src/docs/rfcs/3243_list_prefix.md @@ -93,7 +93,7 @@ While create dir on a path: # Reference-level explanation -For POSIX-alike services, we will: +For POSIX-like services, we will: - Simulate the list prefix behavior by listing the parent dir and filter the children that matches the prefix. - Return `NotFound` while stat an existing file with `/` diff --git a/core/src/services/fs/backend.rs b/core/src/services/fs/backend.rs index 9c8d5b911f8..126e92b062d 100644 --- a/core/src/services/fs/backend.rs +++ b/core/src/services/fs/backend.rs @@ -166,7 +166,7 @@ impl Builder for FsBuilder { } } -/// Backend is used to serve `Accessor` support for posix alike fs. +/// Backend is used to serve `Accessor` support for posix-like fs. #[derive(Debug, Clone)] pub struct FsBackend { core: Arc, diff --git a/core/src/types/list.rs b/core/src/types/list.rs index 327eed0ad3e..9c38b4fc050 100644 --- a/core/src/types/list.rs +++ b/core/src/types/list.rs @@ -155,7 +155,7 @@ impl Stream for Lister { // Trying to pull more tasks if there are more space. if self.tasks.has_remaining() { - // Building future is we have a lister available. + // Building future if we have a lister available. if let Some(mut lister) = self.lister.take() { let fut = async move { let res = lister.next_dyn().await; diff --git a/core/src/types/scheme.rs b/core/src/types/scheme.rs index 5a3e74fe851..8937131620b 100644 --- a/core/src/types/scheme.rs +++ b/core/src/types/scheme.rs @@ -74,7 +74,7 @@ pub enum Scheme { Foundationdb, /// [dbfs][crate::services::Dbfs]: DBFS backend support. Dbfs, - /// [fs][crate::services::Fs]: POSIX alike file system. + /// [fs][crate::services::Fs]: POSIX-like file system. Fs, /// [ftp][crate::services::Ftp]: FTP backend. Ftp, @@ -166,7 +166,7 @@ pub enum Scheme { /// # NOTE /// /// - Custom must not overwrite any existing services name. - /// - Custom must be lowed cases. + /// - Custom must be in lower case. Custom(&'static str), }