about summary refs log tree commit diff
path: root/src/lib
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2011-09-26 10:51:23 -0700
committerPatrick Walton <pcwalton@mimiga.net>2011-09-26 16:59:15 -0700
commit47e5ab093a89fbe240e67be6a59c901f32d5ce4f (patch)
tree7e7a904ab1922da85d52adb90e6e8af95c4c39b3 /src/lib
parent76e8dd248c561f4b1677d554a03856250f8eded6 (diff)
downloadrust-47e5ab093a89fbe240e67be6a59c901f32d5ce4f.tar.gz
rust-47e5ab093a89fbe240e67be6a59c901f32d5ce4f.zip
stdlib: Fix typos in comments in lib/test.rs
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/test.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/test.rs b/src/lib/test.rs
index 70de4565365..a7f652dbb13 100644
--- a/src/lib/test.rs
+++ b/src/lib/test.rs
@@ -31,9 +31,9 @@ native "rust" mod rustrt {
 
 
 // The name of a test. By convention this follows the rules for rust
-// paths, i.e it should be a series of identifiers seperated by double
+// paths; i.e. it should be a series of identifiers seperated by double
 // colons. This way if some test runner wants to arrange the tests
-// heirarchically it may.
+// hierarchically it may.
 type test_name = str;
 
 // A function that runs a test. If the function returns successfully,
@@ -90,7 +90,7 @@ tag test_result { tr_ok; tr_failed; tr_ignored; }
 type joinable = (task, comm::port<task::task_notification>);
 
 // To get isolation and concurrency tests have to be run in their own tasks.
-// In cases where test functions and closures it is not ok to just dump them
+// In cases where test functions are closures it is not ok to just dump them
 // into a task and run them, so this transformation gives the caller a chance
 // to create the test task.
 type test_to_task = fn(fn()) -> joinable;