fix new clippy warnings
This commit is contained in:
@@ -125,7 +125,7 @@ fn get_server(settings: &Settings) -> anyhow::Result<Box<dyn Server>> {
|
||||
settings.server_origin.as_ref(),
|
||||
settings.encryption_secret.as_ref(),
|
||||
) {
|
||||
let client_key = Uuid::parse_str(&client_key)?;
|
||||
let client_key = Uuid::parse_str(client_key)?;
|
||||
|
||||
log::debug!("Using sync-server with origin {}", origin);
|
||||
log::debug!("Sync client ID: {}", client_key);
|
||||
|
||||
@@ -30,11 +30,11 @@ pub(super) fn apply_modification(
|
||||
}
|
||||
|
||||
for tag in modification.add_tags.iter() {
|
||||
task.add_tag(&tag)?;
|
||||
task.add_tag(tag)?;
|
||||
}
|
||||
|
||||
for tag in modification.remove_tags.iter() {
|
||||
task.remove_tag(&tag)?;
|
||||
task.remove_tag(tag)?;
|
||||
}
|
||||
|
||||
if let Some(wait) = modification.wait {
|
||||
|
||||
Reference in New Issue
Block a user