src/pxar/decoder.rs: improve docu
This commit is contained in:
		@ -228,9 +228,12 @@ impl <'a, R: Read> PxarDecoder<'a, R> {
 | 
				
			|||||||
        Ok(())
 | 
					        Ok(())
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /// Restore an archive into the specified directory.
 | 
				
			||||||
 | 
					    ///
 | 
				
			||||||
 | 
					    /// The directory is created if it does not exist.
 | 
				
			||||||
    pub fn restore<F>(
 | 
					    pub fn restore<F>(
 | 
				
			||||||
        &mut self,
 | 
					        &mut self,
 | 
				
			||||||
        path: &Path, // used for error reporting
 | 
					        path: &Path,
 | 
				
			||||||
        callback: &F,
 | 
					        callback: &F,
 | 
				
			||||||
    ) -> Result<(), Error>
 | 
					    ) -> Result<(), Error>
 | 
				
			||||||
        where F: Fn(&Path) -> Result<(), Error>
 | 
					        where F: Fn(&Path) -> Result<(), Error>
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user