doc: Fix an unresolved import
This commit is contained in:
parent
0ed3184708
commit
7645f09a3d
1 changed files with 1 additions and 1 deletions
|
@ -1003,7 +1003,7 @@ impl<'a> ZipFile<'a> {
|
||||||
/// `foo/../bar` as `foo/bar` (instead of `bar`). Because of this,
|
/// `foo/../bar` as `foo/bar` (instead of `bar`). Because of this,
|
||||||
/// [`ZipFile::enclosed_name`] is the better option in most scenarios.
|
/// [`ZipFile::enclosed_name`] is the better option in most scenarios.
|
||||||
///
|
///
|
||||||
/// [`ParentDir`]: `Component::ParentDir`
|
/// [`ParentDir`]: `PathBuf::Component::ParentDir`
|
||||||
pub fn mangled_name(&self) -> PathBuf {
|
pub fn mangled_name(&self) -> PathBuf {
|
||||||
self.data.file_name_sanitized()
|
self.data.file_name_sanitized()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue