diff options
| author | Mel <einebeere@gmail.com> | 2021-09-21 23:55:00 +0200 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2021-09-21 23:55:00 +0200 |
| commit | c96b464bed616d40f1204136c0c5a739fe6fe7ba (patch) | |
| tree | 3d896f1a0b0b26434421ab2b7b93c9bc01abe06d /src/history.rs | |
| parent | 2890afd3e45779b04681f0b26e0fc93e4133cd42 (diff) | |
| download | ka-c96b464bed616d40f1204136c0c5a739fe6fe7ba.tar.zst ka-c96b464bed616d40f1204136c0c5a739fe6fe7ba.zip | |
Fix clippy complaints
Diffstat (limited to 'src/history.rs')
| -rw-r--r-- | src/history.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/history.rs b/src/history.rs index ce5ae26..3f5e43f 100644 --- a/src/history.rs +++ b/src/history.rs @@ -22,7 +22,7 @@ impl FileHistory { .context("Failed reading file history.")?; let file_history = serde_json::from_slice::<FileHistory>(&buffer); - Ok(file_history.context("Corrupted file history.")?) + file_history.context("Corrupted file history.") } pub fn write_to_file(&self, file: &mut File) -> anyhow::Result<()> { |
