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
diff options
context:
space:
mode:
authorColin Finck <colin@reactos.org>2022-01-14 09:23:58 +0300
committerColin Finck <colin@reactos.org>2022-01-14 09:23:58 +0300
commitbbe333090d84745f99a7ee117baab3fa7d115b16 (patch)
treecfbcdad684cca6aef06792757b194d866cb48c35 /src/index_entry.rs
parent252a6467abbc57d67dbad4143d06f6d54660e769 (diff)
Apply suggestions from clippy.
Diffstat (limited to 'src/index_entry.rs')
-rw-r--r--src/index_entry.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index_entry.rs b/src/index_entry.rs
index 4fbcd1f..d88087d 100644
--- a/src/index_entry.rs
+++ b/src/index_entry.rs
@@ -314,7 +314,7 @@ where
}
}
- pub(crate) fn data<'d>(&'d self) -> &'d [u8] {
+ pub(crate) fn data(&self) -> &[u8] {
&self.data
}
}