Skip to content

Commit 47e5ab0

Browse files
committed
stdlib: Fix typos in comments in lib/test.rs
1 parent 76e8dd2 commit 47e5ab0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib/test.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ native "rust" mod rustrt {
3131

3232

3333
// The name of a test. By convention this follows the rules for rust
34-
// paths, i.e it should be a series of identifiers seperated by double
34+
// paths; i.e. it should be a series of identifiers seperated by double
3535
// colons. This way if some test runner wants to arrange the tests
36-
// heirarchically it may.
36+
// hierarchically it may.
3737
type test_name = str;
3838

3939
// A function that runs a test. If the function returns successfully,
@@ -90,7 +90,7 @@ tag test_result { tr_ok; tr_failed; tr_ignored; }
9090
type joinable = (task, comm::port<task::task_notification>);
9191

9292
// To get isolation and concurrency tests have to be run in their own tasks.
93-
// In cases where test functions and closures it is not ok to just dump them
93+
// In cases where test functions are closures it is not ok to just dump them
9494
// into a task and run them, so this transformation gives the caller a chance
9595
// to create the test task.
9696
type test_to_task = fn(fn()) -> joinable;

0 commit comments

Comments
 (0)