about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorvarkor <github@varkor.com>2018-06-17 16:04:10 +0100
committervarkor <github@varkor.com>2018-06-20 12:23:46 +0100
commit21136b8ab408a71c9f275f6ddcb9838a74c43a0c (patch)
tree814713e7956639e2ba573f73c98c2144318f925e /src/libsyntax/parse
parent95ce05c586b8d8c97238ca4bedc5b06909bb7090 (diff)
downloadrust-21136b8ab408a71c9f275f6ddcb9838a74c43a0c.tar.gz
rust-21136b8ab408a71c9f275f6ddcb9838a74c43a0c.zip
Rename ParenthesizedArgData to ParenthesisedArgs
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/parser.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 2bb8fff4037..6f78ae9ebca 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -9,7 +9,7 @@
 // except according to those terms.
 
 use rustc_target::spec::abi::{self, Abi};
-use ast::{AngleBracketedArgs, ParenthesizedArgData, AttrStyle, BareFnTy};
+use ast::{AngleBracketedArgs, ParenthesisedArgs, AttrStyle, BareFnTy};
 use ast::{GenericBound, TraitBoundModifier};
 use ast::Unsafety;
 use ast::{Mod, AnonConst, Arg, Arm, Attribute, BindingMode, TraitItemKind};
@@ -1988,7 +1988,7 @@ impl<'a> Parser<'a> {
                     None
                 };
                 let span = lo.to(self.prev_span);
-                ParenthesizedArgData { inputs, output, span }.into()
+                ParenthesisedArgs { inputs, output, span }.into()
             };
 
             PathSegment { ident, args }