📝 docs: fix code highlighting in docs, patch bump
parent
27b75fe424
commit
c3858ec8bf
|
@ -11,7 +11,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "always_equal"
|
name = "always_equal"
|
||||||
version = "1.0.0"
|
version = "1.0.1"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ansi_term"
|
name = "ansi_term"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "always_equal"
|
name = "always_equal"
|
||||||
version = "1.0.1"
|
version = "1.0.2"
|
||||||
authors = ["Trish"]
|
authors = ["Trish"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "AGPL-3.0"
|
license = "AGPL-3.0"
|
||||||
|
|
|
@ -6,7 +6,7 @@ things that cannot be compared, like a `File`.
|
||||||
To use Always-Equal, put these two conditional `use`
|
To use Always-Equal, put these two conditional `use`
|
||||||
statements in your module:
|
statements in your module:
|
||||||
|
|
||||||
```
|
```rust
|
||||||
#[cfg (test)]
|
#[cfg (test)]
|
||||||
use always_equal::test::AlwaysEqual;
|
use always_equal::test::AlwaysEqual;
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ use always_equal::prod::AlwaysEqual;
|
||||||
Then wrap `AlwaysEqual` around anything that needs
|
Then wrap `AlwaysEqual` around anything that needs
|
||||||
PartialEq but can't possibly implement it:
|
PartialEq but can't possibly implement it:
|
||||||
|
|
||||||
```
|
```rust
|
||||||
use std::fs::File;
|
use std::fs::File;
|
||||||
use always_equal::test::AlwaysEqual;
|
use always_equal::test::AlwaysEqual;
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
//! To use Always-Equal, put these two conditional `use`
|
//! To use Always-Equal, put these two conditional `use`
|
||||||
//! statements in your module:
|
//! statements in your module:
|
||||||
//!
|
//!
|
||||||
//! ```
|
//! ```rust
|
||||||
//! #[cfg (test)]
|
//! #[cfg (test)]
|
||||||
//! use always_equal::test::AlwaysEqual;
|
//! use always_equal::test::AlwaysEqual;
|
||||||
//!
|
//!
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
//! Then wrap `AlwaysEqual` around anything that needs
|
//! Then wrap `AlwaysEqual` around anything that needs
|
||||||
//! PartialEq but can't possibly implement it:
|
//! PartialEq but can't possibly implement it:
|
||||||
//!
|
//!
|
||||||
//! ```
|
//! ```rust
|
||||||
//! use std::fs::File;
|
//! use std::fs::File;
|
||||||
//! use always_equal::test::AlwaysEqual;
|
//! use always_equal::test::AlwaysEqual;
|
||||||
//!
|
//!
|
||||||
|
|
Loading…
Reference in New Issue