about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2016-05-07 15:35:19 -0400
committerSteve Klabnik <steve@steveklabnik.com>2016-05-07 15:35:19 -0400
commitaa63f54e3752382f59cc68aba8dae0c0d7bdda5a (patch)
treefdc974713887db2abee0347b0971e66ed1a9ed52 /src/libstd
parent1ce94053800c192f2d9c7126dc26297cbbfc73ff (diff)
parent26eb2bef2591ddb4cdf45d256cdcfa7c7353b0fc (diff)
downloadrust-aa63f54e3752382f59cc68aba8dae0c0d7bdda5a.tar.gz
rust-aa63f54e3752382f59cc68aba8dae0c0d7bdda5a.zip
Rollup merge of #33438 - birkenfeld:dup-words, r=steveklabnik
Fix some some duplicate words.
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/net/ip.rs2
-rw-r--r--src/libstd/sys/unix/process.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/net/ip.rs b/src/libstd/net/ip.rs
index adceee6d73e..01924198250 100644
--- a/src/libstd/net/ip.rs
+++ b/src/libstd/net/ip.rs
@@ -371,7 +371,7 @@ impl Ipv6Addr {
     }
 
     /// Returns true if this is an address reserved for documentation
-    /// This is defined to be 2001:db8::/32 in RFC RFC 3849
+    /// This is defined to be 2001:db8::/32 in RFC 3849.
     pub fn is_documentation(&self) -> bool {
         (self.segments()[0] == 0x2001) && (self.segments()[1] == 0xdb8)
     }
diff --git a/src/libstd/sys/unix/process.rs b/src/libstd/sys/unix/process.rs
index 270c2096b2c..0500480add2 100644
--- a/src/libstd/sys/unix/process.rs
+++ b/src/libstd/sys/unix/process.rs
@@ -147,7 +147,7 @@ impl Command {
         let new_key = pair_to_key(key, val, &mut self.saw_nul);
         let (map, envp) = self.init_env_map();
 
-        // If `key` is already present then we we just update `envp` in place
+        // If `key` is already present then we just update `envp` in place
         // (and store the owned value), but if it's not there we override the
         // trailing NULL pointer, add a new NULL pointer, and store where we
         // were located.