Skip to content

Commit ef36d69

Browse files
bors[bot]robamu
andauthored
Merge #286
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]>
2 parents c2de8be + d9d94f8 commit ef36d69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/identities.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use core::ops::{Add, Mul};
55
///
66
/// # Laws
77
///
8-
/// ```{.text}
8+
/// ```text
99
/// a + 0 = a ∀ a ∈ Self
1010
/// 0 + a = a ∀ a ∈ Self
1111
/// ```
@@ -81,7 +81,7 @@ where
8181
///
8282
/// # Laws
8383
///
84-
/// ```{.text}
84+
/// ```text
8585
/// a * 1 = a ∀ a ∈ Self
8686
/// 1 * a = a ∀ a ∈ Self
8787
/// ```

0 commit comments

Comments
 (0)