mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
remove extra lines
This commit is contained in:
parent
3d3e0d3b0a
commit
8ea11a215a
1 changed files with 5 additions and 9 deletions
|
|
@ -235,12 +235,10 @@ fn handle(
|
|||
// on chunk
|
||||
{
|
||||
let action = action.clone();
|
||||
move |_, total| {
|
||||
action.update.activate(&format!(
|
||||
"Received {}...",
|
||||
format_bytes(total)
|
||||
))
|
||||
}
|
||||
move |_, total| action.update.activate(&format!(
|
||||
"Received {}...",
|
||||
format_bytes(total)
|
||||
))
|
||||
},
|
||||
// on complete
|
||||
{
|
||||
|
|
@ -253,9 +251,7 @@ fn handle(
|
|||
format_bytes(total)
|
||||
))
|
||||
}
|
||||
Err(e) => {
|
||||
action.cancel.activate(&e.to_string())
|
||||
}
|
||||
Err(e) => action.cancel.activate(&e.to_string())
|
||||
}
|
||||
},
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue