From dae49bcb61bea74cf068fbc33555cf308ecf7b92 Mon Sep 17 00:00:00 2001 From: Coin de Gamma Date: Tue, 17 Sep 2024 11:25:53 +0000 Subject: [PATCH] code clearup --- src/storage.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/storage.rs b/src/storage.rs index 3f68b83..14d5b58 100644 --- a/src/storage.rs +++ b/src/storage.rs @@ -120,7 +120,10 @@ impl Storage { // TODO: uncomment when innit saving implemented let passtest = match lines.next() { 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 { match line {