From 8ff03cff581f7f05015cd3567cf9814e4b87dec1 Mon Sep 17 00:00:00 2001 From: qkzk Date: Mon, 20 Mar 2023 14:56:40 +0100 Subject: remove last references to FmError & FmResult in documentation --- src/decompress.rs | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/decompress.rs') diff --git a/src/decompress.rs b/src/decompress.rs index 8894abe..916293a 100644 --- a/src/decompress.rs +++ b/src/decompress.rs @@ -5,8 +5,6 @@ use std::path::Path; use tar::Archive; /// Decompress a zipped compressed file into its parent directory. -/// It may fail an return a `FmError` if the file has no parent, -/// which should be impossible. pub fn decompress_zip(source: &Path) -> Result<()> { let file = File::open(source)?; let mut zip = zip::ZipArchive::new(file)?; @@ -20,8 +18,6 @@ pub fn decompress_zip(source: &Path) -> Result<()> { } /// Decompress a gz compressed file into its parent directory. -/// It may fail an return a `FmError` if the file has no parent, -/// which should be impossible. pub fn decompress_gz(source: &Path) -> Result<()> { let tar_gz = File::open(source)?; let tar = GzDecoder::new(tar_gz); @@ -35,8 +31,6 @@ pub fn decompress_gz(source: &Path) -> Result<()> { } /// Decompress a zlib compressed file into its parent directory. -/// It may fail an return a `FmError` if the file has no parent, -/// which should be impossible. pub fn decompress_xz(source: &Path) -> Result<()> { let tar_xz = File::open(source)?; let tar = ZlibDecoder::new(tar_xz); -- cgit v1.2.3