]> git.proxmox.com Git - pxar.git/blobdiff - src/encoder/mod.rs
clippy fixups
[pxar.git] / src / encoder / mod.rs
index fdd04ae864f44bfcc2a43e6960aa2b42ac016355..f442031245d8422d29afb9777561fbe211db908e 100644 (file)
@@ -349,11 +349,6 @@ impl<'a, T: SeqWrite + 'a> EncoderImpl<'a, T> {
     }
 
     /// Return a file offset usable with `add_hardlink`.
-    // This is an `&mut self`, the Rc to the `file_copy_buffer` is handed down in
-    // `create_directory` which is also an `&mut self` method and returns an encoder holding a
-    // mutable borrow on `self`, opening a nested entry in the archive.
-    // So this should be fine.
-    #[allow(clippy::await_holding_refcell_ref)]
     pub async fn add_file(
         &mut self,
         metadata: &Metadata,