summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2018-10-22 18:21:55 +0200
committerMatthias Krüger <matthias.krueger@famsik.de>2018-10-23 15:56:25 +0200
commit4972beaf65cad992a6ed791fdefe90e46c09aa7b (patch)
treea6589cb893f6d436e4e2b0aef4fa48bbb3321335 /src/libsyntax
parentd74b40205f7ecf30c680dc77e62cf4f127f2db09 (diff)
downloadrust-4972beaf65cad992a6ed791fdefe90e46c09aa7b.tar.gz
rust-4972beaf65cad992a6ed791fdefe90e46c09aa7b.zip
fix typos in various places
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/config.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/config.rs b/src/libsyntax/config.rs
index e611eb86dc1..d8fb20d4250 100644
--- a/src/libsyntax/config.rs
+++ b/src/libsyntax/config.rs
@@ -96,7 +96,7 @@ impl<'a> StripUnconfigured<'a> {
     /// when the configuration predicate is true, or otherwise expand into an
     /// empty list of attributes.
     ///
-    /// Gives a compiler warning when the `cfg_attr` contains no attribtes and
+    /// Gives a compiler warning when the `cfg_attr` contains no attributes and
     /// is in the original source file. Gives a compiler error if the syntax of
     /// the attribute is incorrect
     fn process_cfg_attr(&mut self, attr: ast::Attribute) -> Vec<ast::Attribute> {
@@ -138,7 +138,7 @@ impl<'a> StripUnconfigured<'a> {
         };
 
         // Check feature gate and lint on zero attributes in source. Even if the feature is gated,
-        // we still compute as if it wasn't, since the emitted error will stop compilation futher
+        // we still compute as if it wasn't, since the emitted error will stop compilation further
         // along the compilation.
         match (expanded_attrs.len(), gate_cfg_attr_multi) {
             (0, false) => {