diff --git a/src/storage.rs b/src/storage.rs index f0828ab..1b710ef 100644 --- a/src/storage.rs +++ b/src/storage.rs @@ -207,7 +207,7 @@ impl DiskTokenStorage { jsontokens.tokens.push((*token).clone()); } - let serialized;; + let serialized; match serde_json::to_string(&jsontokens) { Result::Err(e) => return Result::Err(io::Error::new(io::ErrorKind::InvalidData, e)),