diff options
| author | bors <bors@rust-lang.org> | 2014-08-02 21:51:10 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-08-02 21:51:10 +0000 |
| commit | 756b7b23c43cff52b1e2a89fae341c0a7389ee09 (patch) | |
| tree | 47aa392a3889484b574a73224b2c8bc57e652bbe /src/libstd | |
| parent | 147d117cff53198f17989a34b92513c33e059544 (diff) | |
| parent | ad06dfe496e4e1abbc65268a58275ca2b483def5 (diff) | |
| download | rust-756b7b23c43cff52b1e2a89fae341c0a7389ee09.tar.gz rust-756b7b23c43cff52b1e2a89fae341c0a7389ee09.zip | |
auto merge of #16180 : jbcrail/rust/fix-comments, r=steveklabnik
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); |
