mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
Optimized code and performance using clippy
This commit is contained in:
@@ -73,7 +73,7 @@ impl ActivityManager {
|
||||
Ok(ActivityManager {
|
||||
context: Some(ctx),
|
||||
ftparams: None,
|
||||
interval: interval,
|
||||
interval,
|
||||
})
|
||||
}
|
||||
|
||||
@@ -89,11 +89,11 @@ impl ActivityManager {
|
||||
password: Option<String>,
|
||||
) {
|
||||
self.ftparams = Some(FileTransferParams {
|
||||
address: address,
|
||||
port: port,
|
||||
protocol: protocol,
|
||||
username: username,
|
||||
password: password,
|
||||
address,
|
||||
port,
|
||||
protocol,
|
||||
username,
|
||||
password,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user