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:
Diffstat (limited to 'src/structured_values/volume_name.rs')
-rw-r--r--src/structured_values/volume_name.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/structured_values/volume_name.rs b/src/structured_values/volume_name.rs
index 55dbb8c..1e4d2a9 100644
--- a/src/structured_values/volume_name.rs
+++ b/src/structured_values/volume_name.rs
@@ -64,7 +64,7 @@ impl NtfsVolumeName {
}
/// Gets the volume name and returns it wrapped in an [`NtfsString`].
- pub fn name<'s>(&'s self) -> NtfsString<'s> {
+ pub fn name(&self) -> NtfsString {
NtfsString(&self.name)
}