diff --git a/src/lib.rs b/src/lib.rs index 2f1b3a2..322e8eb 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -14,14 +14,14 @@ //! //! Yep — and you only need **one line of code** to make it happen: //! -//! ```rust,ignore +//! ```rust //! use pretty_assertions::{assert_eq, assert_ne}; //! ``` //! //!
//! Show the example behind the screenshots above. //! -//! ```rust,ignore +//! ```rust,no_run //! // 1. add the `pretty_assertions` dependency to `Cargo.toml`. //! // 2. insert this line at the top of each module, as needed //! use pretty_assertions::{assert_eq, assert_ne}; @@ -50,7 +50,7 @@ //! //! Also add `#[cfg(test)]` to your `use` statements, like this: //! -//! ```rust,ignore +//! ```rust //! #[cfg(test)] //! use pretty_assertions::{assert_eq, assert_ne}; //! ```