Format code
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
parent
582fd10acb
commit
0e4cb59772
1 changed files with 3 additions and 4 deletions
|
@ -148,10 +148,9 @@ impl FileAbstraction for FSFileAbstraction {
|
|||
/// FileAbstraction::fill implementation that consumes the Drain and writes everything to the
|
||||
/// filesystem
|
||||
fn fill(&mut self, mut d: Drain) -> Result<()> {
|
||||
d.iter()
|
||||
.fold(Ok(()), |acc, (path, element)| {
|
||||
acc.and_then(|_| self.new_instance(path).write_file_content(&element))
|
||||
})
|
||||
d.iter().fold(Ok(()), |acc, (path, element)| {
|
||||
acc.and_then(|_| self.new_instance(path).write_file_content(&element))
|
||||
})
|
||||
}
|
||||
|
||||
fn pathes_recursively(&self,
|
||||
|
|
Loading…
Reference in a new issue