about summary refs log tree commit diff
path: root/src/libcore/logging.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore/logging.rs')
-rw-r--r--src/libcore/logging.rs18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/libcore/logging.rs b/src/libcore/logging.rs
index 261a18f6f7d..1e233dfe8d5 100644
--- a/src/libcore/logging.rs
+++ b/src/libcore/logging.rs
@@ -1,4 +1,4 @@
-#[doc = "Logging"];
+//! Logging
 
 export console_on, console_off;
 
@@ -8,18 +8,18 @@ extern mod rustrt {
     fn rust_log_console_off();
 }
 
-#[doc = "Turns on logging to stdout globally"]
+/// Turns on logging to stdout globally
 fn console_on() {
     rustrt::rust_log_console_on();
 }
 
-#[doc = "
-Turns off logging to stdout globally
-
-Turns off the console unless the user has overridden the
-runtime environment's logging spec, e.g. by setting
-the RUST_LOG environment variable
-"]
+/**
+ * Turns off logging to stdout globally
+ *
+ * Turns off the console unless the user has overridden the
+ * runtime environment's logging spec, e.g. by setting
+ * the RUST_LOG environment variable
+ */
 fn console_off() {
     rustrt::rust_log_console_off();
 }
\ No newline at end of file