]> git.lizzy.rs Git - rust.git/commit
std: change Decoder::read_option to return a generic type
authorErick Tryzelaar <erick.tryzelaar@gmail.com>
Thu, 28 Mar 2013 20:11:14 +0000 (13:11 -0700)
committerErick Tryzelaar <erick.tryzelaar@gmail.com>
Fri, 29 Mar 2013 03:34:33 +0000 (20:34 -0700)
commitb05e148dc954d7c1fb4666d4529653993a93eb1d
tree3542b2ed3564cb795e567c74857bfaa696525e11
parentbdf81e11841da74277e873b9f3ef5bc2105700be
std: change Decoder::read_option to return a generic type

This allows read_option to be used with a custom option type instead
of just core::Option.
src/libstd/ebml.rs
src/libstd/json.rs
src/libstd/serialize.rs