Browse Source

code clearup

fix-typo
Coin de Gamma 3 months ago
parent
commit
dae49bcb61
  1. 5
      src/storage.rs

5
src/storage.rs

@ -120,7 +120,10 @@ impl Storage {
// TODO: uncomment when innit saving implemented // TODO: uncomment when innit saving implemented
let passtest = match lines.next() { let passtest = match lines.next() {
Some(line) => line?, Some(line) => line?,
None => return Err(io::Error::new(io::ErrorKind::InvalidData, "Bad storage db format: no passphrase in the beginnning")), None => return Err(
io::Error::new(io::ErrorKind::InvalidData,
"Bad storage db format: no passphrase in the beginnning"
)),
}; };
for line in lines { for line in lines {
match line { match line {

Loading…
Cancel
Save