about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-05-05 09:24:22 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-05-05 09:24:22 +0530
commit266d4829ea61080a8c12853707f074f83f5bf3c7 (patch)
treef29749f77936ba59eedeb7a7ad9f275b1fdbe340 /src/libstd
parent4fb22164a25a90543474d33fd51159e80806c9c5 (diff)
parent464069a4bfff2e94cb91c6cc5f0da40bba086bc4 (diff)
downloadrust-266d4829ea61080a8c12853707f074f83f5bf3c7.tar.gz
rust-266d4829ea61080a8c12853707f074f83f5bf3c7.zip
Rollup merge of #25100 - jbcrail:fix-spelling-errors, r=steveklabnik
 I corrected several spelling errors in the external documentation.
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/macros.rs2
-rw-r--r--src/libstd/path.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/macros.rs b/src/libstd/macros.rs
index fcebe9c5e98..362296cd133 100644
--- a/src/libstd/macros.rs
+++ b/src/libstd/macros.rs
@@ -434,7 +434,7 @@ pub mod builtin {
 
     /// Parse the current given file as an expression.
     ///
-    /// This is generally a bad idea, because it's going to behave unhygenically.
+    /// This is generally a bad idea, because it's going to behave unhygienically.
     ///
     /// # Examples
     ///
diff --git a/src/libstd/path.rs b/src/libstd/path.rs
index 2ceb60cc3aa..8ccc387c902 100644
--- a/src/libstd/path.rs
+++ b/src/libstd/path.rs
@@ -358,7 +358,7 @@ pub fn is_separator(c: char) -> bool {
     c.is_ascii() && is_sep_byte(c as u8)
 }
 
-/// The primary sperator for the current platform
+/// The primary separator for the current platform
 #[stable(feature = "rust1", since = "1.0.0")]
 pub const MAIN_SEPARATOR: char = platform::MAIN_SEP;