diff options
| author | Sean Moon <ssamoon@ucla.edu> | 2013-05-09 02:34:47 +0900 |
|---|---|---|
| committer | Sean Moon <ssamoon@ucla.edu> | 2013-05-09 02:34:47 +0900 |
| commit | bd4ee7c7d2f00e8c41824fac7e5d155dff40c25f (patch) | |
| tree | 6b48543d67f951fd3537a8624f2f203c5d910496 /src/libcore | |
| parent | 37becd887e74383cafd2930a87dfbb8f19c5af15 (diff) | |
| download | rust-bd4ee7c7d2f00e8c41824fac7e5d155dff40c25f.tar.gz rust-bd4ee7c7d2f00e8c41824fac7e5d155dff40c25f.zip | |
Fix typos
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/at_vec.rs | 6 | ||||
| -rw-r--r-- | src/libcore/rt/io/extensions.rs | 2 | ||||
| -rw-r--r-- | src/libcore/task/local_data_priv.rs | 2 | ||||
| -rw-r--r-- | src/libcore/vec.rs | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/src/libcore/at_vec.rs b/src/libcore/at_vec.rs index 9f59f1d8fe4..b03a1404f8e 100644 --- a/src/libcore/at_vec.rs +++ b/src/libcore/at_vec.rs @@ -52,7 +52,7 @@ pub fn capacity<T>(v: @[T]) -> uint { * # Arguments * * * size - An initial size of the vector to reserve - * * builder - A function that will construct the vector. It recieves + * * builder - A function that will construct the vector. It receives * as an argument a function that will push an element * onto the vector being constructed. */ @@ -70,7 +70,7 @@ pub fn build_sized<A>(size: uint, builder: &fn(push: &fn(v: A))) -> @[A] { * * # Arguments * - * * builder - A function that will construct the vector. It recieves + * * builder - A function that will construct the vector. It receives * as an argument a function that will push an element * onto the vector being constructed. */ @@ -87,7 +87,7 @@ pub fn build<A>(builder: &fn(push: &fn(v: A))) -> @[A] { * # Arguments * * * size - An option, maybe containing initial size of the vector to reserve - * * builder - A function that will construct the vector. It recieves + * * builder - A function that will construct the vector. It receives * as an argument a function that will push an element * onto the vector being constructed. */ diff --git a/src/libcore/rt/io/extensions.rs b/src/libcore/rt/io/extensions.rs index cff224a80be..bb025b0ccb6 100644 --- a/src/libcore/rt/io/extensions.rs +++ b/src/libcore/rt/io/extensions.rs @@ -11,7 +11,7 @@ //! Utility mixins that apply to all Readers and Writers // XXX: Not sure how this should be structured -// XXX: Iteration should probably be considered seperately +// XXX: Iteration should probably be considered separately pub trait ReaderUtil { diff --git a/src/libcore/task/local_data_priv.rs b/src/libcore/task/local_data_priv.rs index 7240e0ca0a5..97628f38a7b 100644 --- a/src/libcore/task/local_data_priv.rs +++ b/src/libcore/task/local_data_priv.rs @@ -133,7 +133,7 @@ unsafe fn get_newsched_local_map(local: *mut LocalStorage) -> TaskLocalMap { unsafe fn key_to_key_value<T: 'static>(key: LocalDataKey<T>) -> *libc::c_void { // Keys are closures, which are (fnptr,envptr) pairs. Use fnptr. - // Use reintepret_cast -- transmute would leak (forget) the closure. + // Use reinterpret_cast -- transmute would leak (forget) the closure. let pair: (*libc::c_void, *libc::c_void) = cast::transmute_copy(&key); pair.first() } diff --git a/src/libcore/vec.rs b/src/libcore/vec.rs index 947146dee0e..bd8a1c8a156 100644 --- a/src/libcore/vec.rs +++ b/src/libcore/vec.rs @@ -219,7 +219,7 @@ pub fn build<A>(builder: &fn(push: &fn(v: A))) -> ~[A] { * # Arguments * * * size - An option, maybe containing initial size of the vector to reserve - * * builder - A function that will construct the vector. It recieves + * * builder - A function that will construct the vector. It receives * as an argument a function that will push an element * onto the vector being constructed. */ |
