Skip to content

Commit

Permalink
Merge #286
Browse files Browse the repository at this point in the history
286: Bugfix for text codeblock in documentation. r=cuviper a=robamu

Fixes #285 .
From what I have seen, the local output generated with `cargo +nightly doc --open` (rustc v1.74.0 nightly 203c57dbe) does not look differently than the most current one found here: https://docs.rs/num-traits/latest/num_traits/identities/trait.One.html

Propably related to rust-lang/rust#110800 ? If it is, then the issue might be fixed soon and this PR should be ignored..

Co-authored-by: Robin Mueller <[email protected]>
  • Loading branch information
bors[bot] and robamu authored Sep 18, 2023
2 parents c2de8be + d9d94f8 commit ef36d69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/identities.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use core::ops::{Add, Mul};
///
/// # Laws
///
/// ```{.text}
/// ```text
/// a + 0 = a ∀ a ∈ Self
/// 0 + a = a ∀ a ∈ Self
/// ```
Expand Down Expand Up @@ -81,7 +81,7 @@ where
///
/// # Laws
///
/// ```{.text}
/// ```text
/// a * 1 = a ∀ a ∈ Self
/// 1 * a = a ∀ a ∈ Self
/// ```
Expand Down

0 comments on commit ef36d69

Please sign in to comment.