mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Rustfmt net_traits.
This commit is contained in:
parent
b76613a389
commit
b46846e2a0
9 changed files with 151 additions and 120 deletions
|
@ -54,7 +54,7 @@ impl RelativePos {
|
|||
(Some(old_end), Some(rel_end)) => Some(old_end + rel_end),
|
||||
(old, None) => old,
|
||||
(None, rel) => rel,
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -78,7 +78,7 @@ impl RelativePos {
|
|||
} else {
|
||||
min(rel_end, size)
|
||||
}
|
||||
}
|
||||
},
|
||||
None => size,
|
||||
};
|
||||
|
||||
|
@ -148,7 +148,7 @@ pub enum FileManagerThreadMsg {
|
|||
pub enum ReadFileProgress {
|
||||
Meta(BlobBuf),
|
||||
Partial(Vec<u8>),
|
||||
EOF
|
||||
EOF,
|
||||
}
|
||||
|
||||
pub type FileManagerResult<T> = Result<T, FileManagerThreadError>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue