about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2018-10-25 14:31:13 +0200
committerGitHub <noreply@github.com>2018-10-25 14:31:13 +0200
commit4f14bfdc73338d9b49eebb3f905bfc3df47d6891 (patch)
tree1391b9932de51c2fae0d3ceb400e2bb677e23e6b /src/libsyntax
parent88341a99398d740de8b82fff297731e68c9d2a75 (diff)
parent4972beaf65cad992a6ed791fdefe90e46c09aa7b (diff)
downloadrust-4f14bfdc73338d9b49eebb3f905bfc3df47d6891.tar.gz
rust-4f14bfdc73338d9b49eebb3f905bfc3df47d6891.zip
Rollup merge of #55269 - matthiaskrgr:typos_oct, r=zackmdavis
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) => {