doc: Fix an unresolved import

This commit is contained in:
Chris Hennick 2024-05-01 14:13:50 -07:00
parent 0ed3184708
commit 7645f09a3d
No known key found for this signature in database
GPG key ID: DA47AABA4961C509

View file

@ -1003,7 +1003,7 @@ impl<'a> ZipFile<'a> {
/// `foo/../bar` as `foo/bar` (instead of `bar`). Because of this,
/// [`ZipFile::enclosed_name`] is the better option in most scenarios.
///
/// [`ParentDir`]: `Component::ParentDir`
/// [`ParentDir`]: `PathBuf::Component::ParentDir`
pub fn mangled_name(&self) -> PathBuf {
self.data.file_name_sanitized()
}