clippy::unnecessary_mut_passed
This commit is contained in:
parent
6b72d18a7b
commit
671b636f47
1 changed files with 1 additions and 1 deletions
|
|
@ -237,7 +237,7 @@ impl TorrentManager {
|
|||
continue;
|
||||
}
|
||||
let now = Instant::now();
|
||||
if let Err(err) = ensure_file_length(&mut file.lock(), length) {
|
||||
if let Err(err) = ensure_file_length(&file.lock(), length) {
|
||||
warn!(
|
||||
"Error setting length for file {:?} to {}: {:#?}",
|
||||
name, length, err
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue