]> 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>
Thu, 28 Mar 2013 20:11:24 +0000 (13:11 -0700)
commitaa779c1240afd0f5e46897b6ddfa55126471bf19
tree6001cd7ab3fe1998802fa8383f69d97000629f7a
parentce9e5ecb6c1f833eccb520b4179cf86329331fa6
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