Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/ntfs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorColin Finck <colin@reactos.org>2021-06-29 21:57:13 +0300
committerColin Finck <colin@reactos.org>2021-06-29 22:36:13 +0300
commit9fa9dda7eede3ca5689e67ad6e7ca76398443603 (patch)
tree756bc4254257aead1e9f309f0de4e402a688a8ad /src
parent4aa6f36eec7e8d846d6f24048acf236fe30a0d35 (diff)
Upgrade dependencies and fix `displaydoc` error messages.
Diffstat (limited to 'src')
-rw-r--r--src/error.rs10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/error.rs b/src/error.rs
index 8015920..0d205e7 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -18,8 +18,7 @@ pub enum NtfsError {
},
/// The given buffer should have at least {expected} bytes, but it only has {actual} bytes
BufferTooSmall { expected: usize, actual: usize },
- /// The header of an NTFS data run should indicate a maximum byte count of {expected},
- /// but the header at byte position {position:#010x} indicates a byte count of {actual}
+ /// The header of an NTFS data run should indicate a maximum byte count of {expected}, but the header at byte position {position:#010x} indicates a byte count of {actual}
InvalidByteCountInDataRunHeader {
position: u64,
expected: u8,
@@ -41,7 +40,7 @@ pub enum NtfsError {
expected: &'static [u8],
actual: [u8; 4],
},
- /// The NTFS index record at byte position {position:#010x} should have a maximum of {expected} bytes, but it indicates {actual} bytes.
+ /// The NTFS index record at byte position {position:#010x} should have a maximum of {expected} bytes, but it indicates {actual} bytes
InvalidNtfsIndexSize {
position: u64,
expected: u32,
@@ -64,8 +63,7 @@ pub enum NtfsError {
expected: &'static [u8],
actual: [u8; 2],
},
- /// The VCN {vcn} read from the NTFS data run header at byte position {position:#010x}
- /// cannot be added to the LCN {previous_lcn} calculated from previous data runs
+ /// The VCN {vcn} read from the NTFS data run header at byte position {position:#010x} cannot be added to the LCN {previous_lcn} calculated from previous data runs
InvalidVcnInDataRunHeader {
position: u64,
vcn: Vcn,
@@ -75,7 +73,7 @@ pub enum NtfsError {
Io(binread::io::Error),
/// The Logical Cluster Number (LCN) {lcn} is too big to be processed
LcnTooBig { lcn: Lcn },
- /// The index root at byte position {position:#010x} is a large index, but no matching index allocation attribute was provided.
+ /// The index root at byte position {position:#010x} is a large index, but no matching index allocation attribute was provided
MissingIndexAllocation { position: u64 },
/// The cluster size is {actual} bytes, but the maximum supported one is {expected}
UnsupportedClusterSize { expected: u32, actual: u32 },