about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2016-05-05 21:11:41 +0200
committerGeorg Brandl <georg@python.org>2016-05-05 21:12:37 +0200
commit26eb2bef2591ddb4cdf45d256cdcfa7c7353b0fc (patch)
treed255f3d826d7e1fe47544e837f80a30aacf452bf /src/libstd
parent3f65afa6946ee4a6b1d619aee69e1f638edfb662 (diff)
downloadrust-26eb2bef2591ddb4cdf45d256cdcfa7c7353b0fc.tar.gz
rust-26eb2bef2591ddb4cdf45d256cdcfa7c7353b0fc.zip
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.