Remove unneeded ```rust from rustdoc

This commit is contained in:
David Tolnay 2019-04-30 01:15:01 -07:00
parent 0a67cf66e7
commit c954d3352c
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ pub mod read;
/// The ByteOrder that is chosen will impact the endianness that /// The ByteOrder that is chosen will impact the endianness that
/// is used to read integers out of the reader. /// is used to read integers out of the reader.
/// ///
/// ```rust,ignore /// ```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();

View File

@ -7,7 +7,7 @@
//! //!
//! ### Using Basic Functions //! ### Using Basic Functions
//! //!
//! ```rust //! ```
//! extern crate bincode; //! extern crate bincode;
//! use bincode::{serialize, deserialize}; //! use bincode::{serialize, deserialize};
//! fn main() { //! fn main() {