mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 02:35:31 +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")?);
|
opt_bytes_left = Some(value.parse::<usize>().with_context(|| "parse left")?);
|
||||||
}
|
}
|
||||||
"uploaded" => {
|
"uploaded" => {
|
||||||
opt_bytes_uploaded = Some(value.parse::<usize>().with_context(|| "parse uploaded")?);
|
opt_bytes_uploaded =
|
||||||
|
Some(value.parse::<usize>().with_context(|| "parse uploaded")?);
|
||||||
}
|
}
|
||||||
"downloaded" => {
|
"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" => {
|
||||||
event = value
|
event = value
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue