aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2019-04-30 01:39:32 -0700
committerDavid Tolnay <dtolnay@gmail.com>2019-04-30 01:39:32 -0700
commitd06cf4100446bb977ec6c21d491bec604b2fd349 (patch)
treeeb9d09539b59e93ba34f4959c5b000c21f7fc39f
parent8920f4234cc3afb898f5e589232b96763a19f5be (diff)
downloadremain-d06cf4100446bb977ec6c21d491bec604b2fd349.tar.gz
Remove unneeded ```rust from rustdoc
-rw-r--r--src/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 3c90a8c..dc1ab0b 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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 {}