about summary refs log tree commit diff
path: root/src/liblog
diff options
context:
space:
mode:
authorFlorian Gilcher <florian.gilcher@asquera.de>2014-06-02 12:37:54 +0200
committerFlorian Gilcher <florian.gilcher@asquera.de>2014-06-02 12:37:54 +0200
commit20fb7c62d433addf853b8ab824462fca536aba07 (patch)
tree694477c1ce5364a2a9bc1815ed7db85aece1ff94 /src/liblog
parentb981add9ee56a2d6dc11aa48f01aac5d0dda9327 (diff)
downloadrust-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/liblog')
-rw-r--r--src/liblog/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liblog/lib.rs b/src/liblog/lib.rs
index 11df847122b..ff580559969 100644
--- a/src/liblog/lib.rs
+++ b/src/liblog/lib.rs
@@ -57,7 +57,7 @@ disabled except for `error!` (a log level of 1). Logging is controlled via the
 `RUST_LOG` environment variable. The value of this environment variable is a
 comma-separated list of logging directives. A logging directive is of the form:
 
-```notrust
+```text
 path::to::module=log_level
 ```
 
@@ -80,7 +80,7 @@ all modules is set to this value.
 
 Some examples of valid values of `RUST_LOG` are:
 
-```notrust
+```text
 hello                // turns on all logging for the 'hello' module
 info                 // turns on all info logging
 hello=debug          // turns on debug logging for 'hello'