about summary refs log tree commit diff
path: root/src/libnative/task.rs
diff options
context:
space:
mode:
authorDerek Chiang <derekchiang93@gmail.com>2014-01-16 02:24:42 +0800
committerDerek Chiang <derekchiang93@gmail.com>2014-01-16 14:17:56 +0800
commitf98f76e3a75b4d75d809601ce1d6fa62d3eca428 (patch)
tree7247dd11b05e3273984867a65e405e38d770cd27 /src/libnative/task.rs
parent6708558c341d0c4fd467636ee2b2695c125ae4d3 (diff)
downloadrust-f98f76e3a75b4d75d809601ce1d6fa62d3eca428.tar.gz
rust-f98f76e3a75b4d75d809601ce1d6fa62d3eca428.zip
Fixing a typo: bookeeping -> bookkeeping
Diffstat (limited to 'src/libnative/task.rs')
-rw-r--r--src/libnative/task.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libnative/task.rs b/src/libnative/task.rs
index e827b495852..d2f68c4ef68 100644
--- a/src/libnative/task.rs
+++ b/src/libnative/task.rs
@@ -1,4 +1,4 @@
-// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
+// Copyright 2013-2014 The Rust Project Developers. See the COPYRIGHT
 // file at the top-level directory of this distribution and at
 // http://rust-lang.org/COPYRIGHT.
 //
@@ -27,7 +27,7 @@ use std::unstable::stack;
 
 use io;
 use task;
-use bookeeping;
+use bookkeeping;
 
 /// Creates a new Task which is ready to execute as a 1:1 task.
 pub fn new(stack_bounds: (uint, uint)) -> ~Task {
@@ -82,7 +82,7 @@ pub fn spawn_opts(opts: TaskOpts, f: proc()) {
     // Note that this increment must happen *before* the spawn in order to
     // guarantee that if this task exits it will always end up waiting for the
     // spawned task to exit.
-    bookeeping::increment();
+    bookkeeping::increment();
 
     // Spawning a new OS thread guarantees that __morestack will never get
     // triggered, but we must manually set up the actual stack bounds once this
@@ -104,7 +104,7 @@ pub fn spawn_opts(opts: TaskOpts, f: proc()) {
         let mut task = task;
         task.put_runtime(ops as ~rt::Runtime);
         task.run(|| { f.take_unwrap()() });
-        bookeeping::decrement();
+        bookkeeping::decrement();
     })
 }