This commit is contained in:
Ty Overby 2016-04-12 09:28:21 -07:00
parent 183c28e363
commit 21329a0e53
2 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[package] [package]
name = "bincode" name = "bincode"
version = "0.5.2" version = "0.5.3"
authors = ["Ty Overby <ty@pre-alpha.com>", "Francesco Mazzoli <f@mazzo.li>"] authors = ["Ty Overby <ty@pre-alpha.com>", "Francesco Mazzoli <f@mazzo.li>"]
repository = "https://github.com/TyOverby/bincode" repository = "https://github.com/TyOverby/bincode"

View File

@ -100,4 +100,3 @@ pub fn encoded_size_bounded<T: Encodable>(t: &T, max: u64) -> Option<u64> {
let mut size_checker = SizeChecker::new(max); let mut size_checker = SizeChecker::new(max);
t.encode(&mut size_checker).ok().map(|_| size_checker.written) t.encode(&mut size_checker).ok().map(|_| size_checker.written)
} }