diff options
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/collections/hashmap.rs | 2 | ||||
| -rw-r--r-- | src/libstd/io/net/addrinfo.rs | 2 | ||||
| -rw-r--r-- | src/libstd/os.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/collections/hashmap.rs b/src/libstd/collections/hashmap.rs index a569ee4a32a..e95a5305bc7 100644 --- a/src/libstd/collections/hashmap.rs +++ b/src/libstd/collections/hashmap.rs @@ -1937,7 +1937,7 @@ impl<T: Eq + Hash<S>, S, H: Hasher<S>> HashSet<T, H> { /// # Example /// /// This is a slightly silly example where we define the number's - /// parity as the equivilance class. It is important that the + /// parity as the equivalence class. It is important that the /// values hash the same, which is why we implement `Hash`. /// /// ```rust diff --git a/src/libstd/io/net/addrinfo.rs b/src/libstd/io/net/addrinfo.rs index 8d5fd2b99fd..771eb9e13e8 100644 --- a/src/libstd/io/net/addrinfo.rs +++ b/src/libstd/io/net/addrinfo.rs @@ -79,7 +79,7 @@ pub fn get_host_addresses(host: &str) -> IoResult<Vec<IpAddr>> { lookup(Some(host), None, None).map(|a| a.move_iter().map(|i| i.address.ip).collect()) } -/// Full-fleged resolution. This function will perform a synchronous call to +/// Full-fledged resolution. This function will perform a synchronous call to /// getaddrinfo, controlled by the parameters /// /// # Arguments diff --git a/src/libstd/os.rs b/src/libstd/os.rs index 7fff510a60a..dfa691d1823 100644 --- a/src/libstd/os.rs +++ b/src/libstd/os.rs @@ -873,7 +873,7 @@ pub fn make_absolute(p: &Path) -> Path { /// /// let root = Path::new("/"); /// assert!(os::change_dir(&root)); -/// println!("Succesfully changed working directory to {}!", root.display()); +/// println!("Successfully changed working directory to {}!", root.display()); /// ``` pub fn change_dir(p: &Path) -> bool { return chdir(p); |
