ignore instead of no_run

This commit is contained in:
Ty Overby 2016-02-07 17:03:47 -08:00
parent 7fba81da1e
commit 9824d8061c
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. /// This struct should rarely be used.
/// In most cases, prefer the `decode_from` function. /// In most cases, prefer the `decode_from` function.
/// ///
/// ```rust,no_run /// ```rust,ignore
/// let dr = bincode::rustc_serialize::DecoderReader::new(&mut some_reader, SizeLimit::Infinite); /// let dr = bincode::rustc_serialize::DecoderReader::new(&mut some_reader, SizeLimit::Infinite);
/// let result: T = Decodable::decode(&mut dr); /// let result: T = Decodable::decode(&mut dr);
/// let bytes_red = dr.bytes_read(); /// let bytes_red = dr.bytes_read();

View File

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