diff options
author | David Tolnay <dtolnay@gmail.com> | 2019-04-30 01:39:32 -0700 |
---|---|---|
committer | David Tolnay <dtolnay@gmail.com> | 2019-04-30 01:39:32 -0700 |
commit | d06cf4100446bb977ec6c21d491bec604b2fd349 (patch) | |
tree | eb9d09539b59e93ba34f4959c5b000c21f7fc39f | |
parent | 8920f4234cc3afb898f5e589232b96763a19f5be (diff) | |
download | remain-d06cf4100446bb977ec6c21d491bec604b2fd349.tar.gz |
Remove unneeded ```rust from rustdoc
-rw-r--r-- | src/lib.rs | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -10,7 +10,7 @@ //! Alternatively, import as `use remain::sorted;` and use `#[sorted]` as the //! attribute. //! -//! ```rust +//! ``` //! # use std::error::Error as StdError; //! # use std::fmt::{self, Display}; //! # use std::io; @@ -103,7 +103,7 @@ //! function body, so the attribute on match-expressions and let-statements //! requires a nightly compiler and the following two features enabled: //! -//! ```rust +//! ``` //! # const IGNORE: &str = stringify! { //! #![feature(proc_macro_hygiene, stmt_expr_attributes)] //! # }; @@ -114,7 +114,7 @@ //! attributes work on any rustc version 1.31+. Place this attribute on any //! function containing `#[sorted]` to make them work on a stable compiler. //! -//! ```rust +//! ``` //! # use std::fmt::{self, Display}; //! # //! # enum Error {} |