diff options
author | Colin Finck <colin@reactos.org> | 2022-01-13 21:27:34 +0300 |
---|---|---|
committer | Colin Finck <colin@reactos.org> | 2022-01-13 21:27:34 +0300 |
commit | 252a6467abbc57d67dbad4143d06f6d54660e769 (patch) | |
tree | 8e3f2a77465b4311f32b3b62b549b2c9bc9df5ba /src | |
parent | ad187486b7d8641248550c056bf972d847edb348 (diff) |
Fix some typos.
Diffstat (limited to 'src')
-rw-r--r-- | src/index.rs | 2 | ||||
-rw-r--r-- | src/index_entry.rs | 2 | ||||
-rw-r--r-- | src/index_record.rs | 2 | ||||
-rw-r--r-- | src/indexes/mod.rs | 2 | ||||
-rw-r--r-- | src/time.rs | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/index.rs b/src/index.rs index 1b6b1b5..5799828 100644 --- a/src/index.rs +++ b/src/index.rs @@ -123,7 +123,7 @@ where { // NTFS B-tree indexes are composed out of nodes, with multiple entries per node. // Each entry may have a reference to a subnode. - // If that is the case, the subnode comes before the parent node lexicographically. + // If that is the case, the subnode entries comes before the parent entry lexicographically. // // An example for an unbalanced, but otherwise valid and sorted tree: // diff --git a/src/index_entry.rs b/src/index_entry.rs index 4ce534a..4fbcd1f 100644 --- a/src/index_entry.rs +++ b/src/index_entry.rs @@ -78,7 +78,7 @@ where /// A single entry of an NTFS index. /// -/// NTFS uses B-tree indexes to quickly look up directories, Object IDs, Reparse Points, Security Descriptors, etc. +/// NTFS uses B-tree indexes to quickly look up files, Object IDs, Reparse Points, Security Descriptors, etc. /// They are described via [`NtfsIndexRoot`] and [`NtfsIndexAllocation`] attributes, which can be comfortably /// accessed via [`NtfsIndex`]. /// diff --git a/src/index_record.rs b/src/index_record.rs index 6d7b28d..4f7bc42 100644 --- a/src/index_record.rs +++ b/src/index_record.rs @@ -39,7 +39,7 @@ pub(crate) struct IndexNodeHeader { /// /// These records are denoted via an `INDX` signature on the filesystem. /// -/// NTFS uses B-tree indexes to quickly look up directories, Object IDs, Reparse Points, Security Descriptors, etc. +/// NTFS uses B-tree indexes to quickly look up files, Object IDs, Reparse Points, Security Descriptors, etc. /// An Index Record is further comprised of Index Entries, which contain the actual key/data (see [`NtfsIndexEntry`], /// iterated via [`NtfsIndexNodeEntries`]). /// diff --git a/src/indexes/mod.rs b/src/indexes/mod.rs index 6baf344..a912bf7 100644 --- a/src/indexes/mod.rs +++ b/src/indexes/mod.rs @@ -6,7 +6,7 @@ //! Thanks to Rust's typesystem, the traits make using the various types of NTFS indexes (and their distinct key //! and data types) possible in a typesafe way. //! -//! NTFS uses B-tree indexes to quickly look up directories, Object IDs, Reparse Points, Security Descriptors, etc. +//! NTFS uses B-tree indexes to quickly look up files, Object IDs, Reparse Points, Security Descriptors, etc. //! They are described via [`NtfsIndexRoot`] and [`NtfsIndexAllocation`] attributes, which can be comfortably //! accessed via [`NtfsIndex`]. //! diff --git a/src/time.rs b/src/time.rs index 4784163..b358ab4 100644 --- a/src/time.rs +++ b/src/time.rs @@ -16,7 +16,7 @@ use { #[cfg(feature = "std")] use std::time::{SystemTime, SystemTimeError}; -/// How many days we have between 0001-01-01 and 1601-01-01. +/// Number of days between 0001-01-01 and 1601-01-01. #[cfg(feature = "chrono")] const DAYS_FROM_0001_TO_1601: i32 = 584389; |