chore: Rust linting

This commit is contained in:
Jack Wills
2025-12-09 09:42:50 +00:00
parent 38dcc65973
commit 65d7970033
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -896,7 +896,7 @@ impl AppData {
if f.starts_with('/') {
f.remove(0);
}
(*f).to_string()
(*f).clone()
})
});
+1 -1
View File
@@ -48,7 +48,7 @@ fn read_docker_host(config: &Config) -> Option<String> {
config
.host
.as_ref()
.map_or_else(|| std::env::var(DOCKER_HOST).ok(), |x| Some(x.to_string()))
.map_or_else(|| std::env::var(DOCKER_HOST).ok(), |x| Some(x.clone()))
}
/// Create docker daemon handler, and only spawn up the docker data handler if a ping returns non-error