mirror of
https://github.com/veeso/termscp.git
synced 2026-09-28 15:01:19 -07:00
lint
This commit is contained in:
@@ -107,7 +107,7 @@ impl AuthActivity {
|
||||
// Report error
|
||||
error!("Failed to get latest version: {}", err);
|
||||
self.mount_error(
|
||||
format!("Could not check for new updates: {}", err).as_str(),
|
||||
format!("Could not check for new updates: {err}").as_str(),
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -136,13 +136,13 @@ impl AuthActivity {
|
||||
if self.config().get_notifications() {
|
||||
Notification::update_installed(ver.as_str());
|
||||
}
|
||||
self.mount_info(format!("termscp has been updated to version {}!", ver))
|
||||
self.mount_info(format!("termscp has been updated to version {ver}!"))
|
||||
}
|
||||
Err(err) => {
|
||||
if self.config().get_notifications() {
|
||||
Notification::update_failed(err.to_string());
|
||||
}
|
||||
self.mount_error(format!("Could not install update: {}", err))
|
||||
self.mount_error(format!("Could not install update: {err}"))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user