mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
http_protocol: cargo fmt
This commit is contained in:
parent
4091f51bd8
commit
b54fb7f1db
1 changed files with 4 additions and 2 deletions
|
|
@ -108,10 +108,12 @@ impl AnnounceRequest {
|
|||
opt_bytes_left = Some(value.parse::<usize>().with_context(|| "parse left")?);
|
||||
}
|
||||
"uploaded" => {
|
||||
opt_bytes_uploaded = Some(value.parse::<usize>().with_context(|| "parse uploaded")?);
|
||||
opt_bytes_uploaded =
|
||||
Some(value.parse::<usize>().with_context(|| "parse uploaded")?);
|
||||
}
|
||||
"downloaded" => {
|
||||
opt_bytes_downloaded = Some(value.parse::<usize>().with_context(|| "parse downloaded")?);
|
||||
opt_bytes_downloaded =
|
||||
Some(value.parse::<usize>().with_context(|| "parse downloaded")?);
|
||||
}
|
||||
"event" => {
|
||||
event = value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue