diff options
| author | a-kenji <aks.kenji@protonmail.com> | 2022-06-10 20:03:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-10 20:03:13 +0200 |
| commit | 67d2673cae60954e8287c2a1f58a21a56e066afb (patch) | |
| tree | 5c469728075ea59723951c6b535253e30ebeaec4 /default-plugins/status-bar/src/tip | |
| parent | add: typos (diff) | |
| download | sl0ppij-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.rs | 6 |
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)), } } |
