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