]> git.proxmox.com Git - pxar.git/commitdiff
doc fixup master
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 30 Jul 2024 13:52:41 +0000 (15:52 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 30 Jul 2024 13:52:41 +0000 (15:52 +0200)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/format/mod.rs

index 1a3145f9ca5b3250a33c169dd7efecee43ec0d0b..e9b9ac9eabf4003735a814d7856a9237bef19c07 100644 (file)
@@ -814,8 +814,7 @@ pub fn path_is_legal_component(path: &Path) -> bool {
 
 /// Assert sure the path consists only of [`Normal`](std::path::Component::Normal) components.
 ///
-/// Returns an [`io::Error`](std::io::Error) of type [`Other`](std::io::ErrorKind::Other) if that's
-/// not the case.
+/// Returns an [`io::Error`] of type [`Other`](std::io::ErrorKind::Other) if that's not the case.
 pub fn check_file_name(path: &Path) -> io::Result<()> {
     if !path_is_legal_component(path) {
         io_bail!("invalid file name in archive: {:?}", path);