about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-04-12 20:36:58 -0700
committerbors <bors@rust-lang.org>2014-04-12 20:36:58 -0700
commite4178db07c5747ea412118c8e64f3fbefad4338e (patch)
treee730f8a90a15935ce57b59156b2b1e55f541efd2 /src
parent9d75f2387fb3d1478be830795407d1a79214d3a5 (diff)
parentb945573e299e1e8b9d24759bb447d9bd1e88ec82 (diff)
downloadrust-e4178db07c5747ea412118c8e64f3fbefad4338e.tar.gz
rust-e4178db07c5747ea412118c8e64f3fbefad4338e.zip
auto merge of #13460 : SimonSapin/rust/patch-9, r=alexcrichton
Diffstat (limited to 'src')
-rw-r--r--src/liblog/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/liblog/lib.rs b/src/liblog/lib.rs
index 0656dd1f641..4a217a7b2b2 100644
--- a/src/liblog/lib.rs
+++ b/src/liblog/lib.rs
@@ -40,12 +40,12 @@ There are five macros that the logging subsystem uses:
 * `warn!(...)` - a macro hard-wired to the log level of `WARN`
 * `error!(...)` - a macro hard-wired to the log level of `ERROR`
 
-All of these macros use std::the same style of syntax as the `format!` syntax
+All of these macros use the same style of syntax as the `format!` syntax
 extension. Details about the syntax can be found in the documentation of
 `std::fmt` along with the Rust tutorial/manual.
 
 If you want to check at runtime if a given logging level is enabled (e.g. if the
-information you would want to log is expensive to produce), you can use std::the
+information you would want to log is expensive to produce), you can use the
 following macro:
 
 * `log_enabled!(level)` - returns true if logging of the given level is enabled
@@ -63,7 +63,7 @@ path::to::module=log_level
 
 The path to the module is rooted in the name of the crate it was compiled for,
 so if your program is contained in a file `hello.rs`, for example, to turn on
-logging for this file you would use std::a value of `RUST_LOG=hello`.
+logging for this file you would use a value of `RUST_LOG=hello`.
 Furthermore, this path is a prefix-search, so all modules nested in the
 specified module will also have logging enabled.