diff options
| author | Florian Gilcher <florian.gilcher@asquera.de> | 2014-06-02 12:37:54 +0200 |
|---|---|---|
| committer | Florian Gilcher <florian.gilcher@asquera.de> | 2014-06-02 12:37:54 +0200 |
| commit | 20fb7c62d433addf853b8ab824462fca536aba07 (patch) | |
| tree | 694477c1ce5364a2a9bc1815ed7db85aece1ff94 /src/libcore/num | |
| parent | b981add9ee56a2d6dc11aa48f01aac5d0dda9327 (diff) | |
| download | rust-20fb7c62d433addf853b8ab824462fca536aba07.tar.gz rust-20fb7c62d433addf853b8ab824462fca536aba07.zip | |
docs: Stop using `notrust`
Now that rustdoc understands proper language tags as the code not being Rust, we can tag everything properly. This change tags examples in other languages by their language. Plain notations are marked as `text`. Console examples are marked as `console`. Also fix markdown.rs to not highlight non-rust code.
Diffstat (limited to 'src/libcore/num')
| -rw-r--r-- | src/libcore/num/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/num/mod.rs b/src/libcore/num/mod.rs index a80b20775de..3a847004df9 100644 --- a/src/libcore/num/mod.rs +++ b/src/libcore/num/mod.rs @@ -59,7 +59,7 @@ pub trait Zero: Add<Self, Self> { /// /// # Laws /// - /// ~~~notrust + /// ~~~text /// a + 0 = a ∀ a ∈ Self /// 0 + a = a ∀ a ∈ Self /// ~~~ @@ -123,7 +123,7 @@ pub trait One: Mul<Self, Self> { /// /// # Laws /// - /// ~~~notrust + /// ~~~text /// a * 1 = a ∀ a ∈ Self /// 1 * a = a ∀ a ∈ Self /// ~~~ |
