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/structured_values/attribute_list.rs
parent252a6467abbc57d67dbad4143d06f6d54660e769 (diff)
Apply suggestions from clippy.
Diffstat (limited to 'src/structured_values/attribute_list.rs')
-rw-r--r--src/structured_values/attribute_list.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/structured_values/attribute_list.rs b/src/structured_values/attribute_list.rs
index 636eb98..4a8c661 100644
--- a/src/structured_values/attribute_list.rs
+++ b/src/structured_values/attribute_list.rs
@@ -228,7 +228,7 @@ impl NtfsAttributeListEntry {
}
/// Gets the attribute name and returns it wrapped in an [`NtfsString`].
- pub fn name<'s>(&'s self) -> NtfsString<'s> {
+ pub fn name(&self) -> NtfsString {
NtfsString(&self.name)
}