diff options
Diffstat (limited to 'src/structured_values/volume_name.rs')
-rw-r--r-- | src/structured_values/volume_name.rs | 2 |
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) } |