diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2013-08-16 15:41:28 +1000 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2013-08-16 15:41:28 +1000 |
| commit | abe94f9b4d0d072e2477b989715c6c79e97de259 (patch) | |
| tree | 705abd2a2859eeb55a097d6e7b4ccfd080bbb2be /src/libextra | |
| parent | 1ad0cf5841e2fb577c4c26a051067fdd06e24796 (diff) | |
| download | rust-abe94f9b4d0d072e2477b989715c6c79e97de259.tar.gz rust-abe94f9b4d0d072e2477b989715c6c79e97de259.zip | |
doc: correct spelling in documentation.
Diffstat (limited to 'src/libextra')
| -rw-r--r-- | src/libextra/enum_set.rs | 2 | ||||
| -rw-r--r-- | src/libextra/flatpipes.rs | 2 | ||||
| -rw-r--r-- | src/libextra/stats.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/libextra/enum_set.rs b/src/libextra/enum_set.rs index 28ff16c43e8..2b1246b0af0 100644 --- a/src/libextra/enum_set.rs +++ b/src/libextra/enum_set.rs @@ -18,7 +18,7 @@ pub struct EnumSet<E> { priv bits: uint } -/// An iterface for casting C-like enum to uint and back. +/// An interface for casting C-like enum to uint and back. pub trait CLike { /// Converts C-like enum to uint. fn to_uint(&self) -> uint; diff --git a/src/libextra/flatpipes.rs b/src/libextra/flatpipes.rs index 74653828121..aa7c6433f1f 100644 --- a/src/libextra/flatpipes.rs +++ b/src/libextra/flatpipes.rs @@ -166,7 +166,7 @@ Constructors for flat pipes that send POD types using memcpy. This module is currently unsafe because it uses `Clone + Send` as a type parameter bounds meaning POD (plain old data), but `Clone + Send` and -POD are not equivelant. +POD are not equivalent. */ pub mod pod { diff --git a/src/libextra/stats.rs b/src/libextra/stats.rs index 0868c767e16..0cea4c1ac6c 100644 --- a/src/libextra/stats.rs +++ b/src/libextra/stats.rs @@ -365,7 +365,7 @@ pub fn write_boxplot(w: @io::Writer, s: &Summary, width_hint: uint) { w.write_str(histr); } -/// Returns a HashMap with the number of occurences of every element in the +/// Returns a HashMap with the number of occurrences of every element in the /// sequence that the iterator exposes. pub fn freq_count<T: Iterator<U>, U: Eq+Hash>(mut iter: T) -> hashmap::HashMap<U, uint> { let mut map = hashmap::HashMap::new::<U, uint>(); |
