Rustfmt net_traits.

This commit is contained in:
Ms2ger 2017-01-03 14:31:48 +01:00
parent b76613a389
commit b46846e2a0
9 changed files with 151 additions and 120 deletions

View file

@ -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>;