fix clippy performance and sus warnings, remove 1 unwrap, forgot to increment db version

Signed-off-by: strawberry <strawberry@pupbrain.dev>
This commit is contained in:
strawberry authored and strawberry committed 2023-11-26 22:14:43 -05:00
1 parent b4e2f7ca37
commit 2dc1c1fdcb
7 files changed
+47 -22

No files matched your search

+1 -1
View File
@@ -490,7 +490,7 @@ impl Service {
if self.unix_socket_path().is_some() {
match &self.unix_socket_path() {
Some(path) => {
std::fs::remove_file(path.to_owned()).unwrap();
std::fs::remove_file(path).unwrap();
}
None => error!(
"Unable to remove socket file at {:?} during shutdown.",