no run on tests

This commit is contained in:
Ty Overby 2016-02-07 16:56:51 -08:00
parent 6d6717ebdf
commit 13d9e30813
2 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ impl From<IoError> for DecodingError {
/// This struct should rarely be used.
/// In most cases, prefer the `decode_from` function.
///
/// ```no_run
/// ```rust,no_run
/// let file = ...
/// let dr = bincode::rustc_serialize::DecoderReader::new(&mut file, SizeLimit::Infinite);
/// let result: T = Decodable::decode(&mut dr);

View File

@ -155,7 +155,7 @@ pub type DeserializeResult<T> = Result<T, DeserializeError>;
/// This struct should rarely be used.
/// In most cases, prefer the `decode_from` function.
///
/// ```no_run
/// ```rust,no_run
/// let file = ...
/// let d = Deserializer::new(&mut file, SizeLimit::new());
/// serde::Deserialize::deserialize(&mut deserializer);