Simplify line

This commit is contained in:
Matthias Beyer 2016-10-13 14:35:50 +02:00
parent 3d572dda0f
commit 3fe8ec5d33

View file

@ -170,8 +170,7 @@ impl StoreEntry {
}
} else {
// TODO:
let entry = Entry::from_reader(self.id.clone(), &mut file.unwrap());
entry
Entry::from_reader(self.id.clone(), &mut file.unwrap())
}
} else {
Err(SE::new(SEK::EntryAlreadyBorrowed, None))