aboutsummaryrefslogtreecommitdiffstats
path: root/default-plugins/status-bar/src/tip
diff options
context:
space:
mode:
authora-kenji <aks.kenji@protonmail.com>2022-06-10 20:03:13 +0200
committerGitHub <noreply@github.com>2022-06-10 20:03:13 +0200
commit67d2673cae60954e8287c2a1f58a21a56e066afb (patch)
tree5c469728075ea59723951c6b535253e30ebeaec4 /default-plugins/status-bar/src/tip
parentadd: typos (diff)
downloadsl0ppij-67d2673cae60954e8287c2a1f58a21a56e066afb.tar.gz
sl0ppij-67d2673cae60954e8287c2a1f58a21a56e066afb.tar.xz
sl0ppij-67d2673cae60954e8287c2a1f58a21a56e066afb.zip
add(style): add trailing comma in match blocks (#1483)
This makes it easier to distinguish from normal blocks
Diffstat (limited to 'default-plugins/status-bar/src/tip')
-rw-r--r--default-plugins/status-bar/src/tip/cache.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/default-plugins/status-bar/src/tip/cache.rs b/default-plugins/status-bar/src/tip/cache.rs
index dece8243..e62e658d 100644
--- a/default-plugins/status-bar/src/tip/cache.rs
+++ b/default-plugins/status-bar/src/tip/cache.rs
@@ -47,7 +47,7 @@ impl LocalCache {
});
}
Err(LocalCacheError::Serde(err))
- }
+ },
}
}
@@ -64,7 +64,7 @@ impl LocalCache {
let metadata = LocalCache::from_json(&json_cache)?;
Ok(LocalCache { path, metadata })
- }
+ },
Err(e) => Err(LocalCacheError::IoPath(e, path)),
}
}
@@ -77,7 +77,7 @@ impl LocalCache {
file.write_all(json_cache.as_bytes())
.map_err(LocalCacheError::Io)?;
Ok(())
- }
+ },
Err(e) => Err(LocalCacheError::Serde(e)),
}
}