about summary refs log tree commit diff
path: root/src/libcore/task.rs
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2011-12-22 17:53:53 -0800
committerGraydon Hoare <graydon@mozilla.com>2011-12-22 17:53:53 -0800
commitf0dfbe7b1b8d630488441982cf3d46f82a3a89db (patch)
tree8e26605c3d3628cd336e566b8ec7391c058c3a1a /src/libcore/task.rs
parentccb5b6fb259d5de9be751175fc53df1eaea4cd2c (diff)
downloadrust-f0dfbe7b1b8d630488441982cf3d46f82a3a89db.tar.gz
rust-f0dfbe7b1b8d630488441982cf3d46f82a3a89db.zip
Register new snapshots, purge log_err and log_full in favour of log(...).
Diffstat (limited to 'src/libcore/task.rs')
-rw-r--r--src/libcore/task.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/task.rs b/src/libcore/task.rs
index 05f953861f7..503a336f7cd 100644
--- a/src/libcore/task.rs
+++ b/src/libcore/task.rs
@@ -22,7 +22,7 @@ Tasks may execute in parallel and are scheduled automatically by the runtime.
 Example:
 
 > spawn("Hello, World", fn (&&msg: str) {
->   log_full(core::debug, msg);
+>   log(debug, msg);
 > });
 
 */