about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorJakub Bukaj <jakub@jakub.cc>2014-11-18 00:24:08 +0100
committerJakub Bukaj <jakub@jakub.cc>2014-11-18 00:24:08 +0100
commitda5c61d469f1ace01728d465c940577ce886b28a (patch)
tree610fa85e34bf54253e342e7ce712ea80257abdc8 /src/libstd
parentde05565ba31fb09b686d00f1b620ec1384136c42 (diff)
parent215f6934009a8e74e58441359482d8654c281009 (diff)
rollup merge of #19038: jayelm/fixed-typos
Baby steps here...

Fixed some comments in liblog, libregex, librustc, libstd.
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/collections/hash/table.rs2
-rw-r--r--src/libstd/os.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/collections/hash/table.rs b/src/libstd/collections/hash/table.rs
index 76e15f7375c..f41ccea0aaf 100644
--- a/src/libstd/collections/hash/table.rs
+++ b/src/libstd/collections/hash/table.rs
@@ -718,7 +718,7 @@ impl<'a, K, V> Iterator<RawBucket<K, V>> for RawBuckets<'a, K, V> {
 }
 
 /// An iterator that moves out buckets in reverse order. It leaves the table
-/// in an an inconsistent state and should only be used for dropping
+/// in an inconsistent state and should only be used for dropping
 /// the table's remaining entries. It's used in the implementation of Drop.
 struct RevMoveBuckets<'a, K, V> {
     raw: RawBucket<K, V>,
diff --git a/src/libstd/os.rs b/src/libstd/os.rs
index f5aa2259f8d..be8e4695fa9 100644
--- a/src/libstd/os.rs
+++ b/src/libstd/os.rs
@@ -81,7 +81,7 @@ const BUF_BYTES : uint = 2048u;
 /// # Failure
 ///
 /// Fails if the current working directory value is invalid:
-/// Possibles cases:
+/// Possible cases:
 ///
 /// * Current directory does not exist.
 /// * There are insufficient permissions to access the current directory.