"paran" -> "paren" for parentheses

parent 0359827b
...@@ -168,7 +168,7 @@ pub enum ImplPropBlock { ...@@ -168,7 +168,7 @@ pub enum ImplPropBlock {
// get(&self) -> T {} // get(&self) -> T {}
pub struct ImplPropGetter { pub struct ImplPropGetter {
pub get: keywords::get, pub get: keywords::get,
pub paran: token::Paren, pub paren: token::Paren,
pub and: Token![&], pub and: Token![&],
pub self_: Token![self], pub self_: Token![self],
pub rarrow: Token![->], pub rarrow: Token![->],
...@@ -179,7 +179,7 @@ pub struct ImplPropGetter { ...@@ -179,7 +179,7 @@ pub struct ImplPropGetter {
// set(&mut self, ident: T) // set(&mut self, ident: T)
pub struct ImplPropSetter { pub struct ImplPropSetter {
pub set: keywords::set, pub set: keywords::set,
pub paran: token::Paren, pub paren: token::Paren,
pub amp: Token![&], pub amp: Token![&],
pub self_: Token![self], pub self_: Token![self],
pub comma: Token![,], pub comma: Token![,],
...@@ -192,7 +192,7 @@ pub struct ImplPropSetter { ...@@ -192,7 +192,7 @@ pub struct ImplPropSetter {
// default() -> T { } // default() -> T { }
pub struct ImplPropDefault { pub struct ImplPropDefault {
pub default: Token![default], pub default: Token![default],
pub paran: token::Paren, pub paren: token::Paren,
pub rarrow: Token![->], pub rarrow: Token![->],
pub self_: keywords::T, pub self_: keywords::T,
pub block: Block, pub block: Block,
......
...@@ -238,7 +238,7 @@ impl Parse for ast::ImplPropGetter ...@@ -238,7 +238,7 @@ impl Parse for ast::ImplPropGetter
let content; let content;
Ok(ast::ImplPropGetter { Ok(ast::ImplPropGetter {
get: input.parse()?, get: input.parse()?,
paran: parenthesized!(content in input), paren: parenthesized!(content in input),
and: content.parse()?, and: content.parse()?,
self_: content.parse()?, self_: content.parse()?,
rarrow: input.parse()?, rarrow: input.parse()?,
...@@ -254,7 +254,7 @@ impl Parse for ast::ImplPropSetter ...@@ -254,7 +254,7 @@ impl Parse for ast::ImplPropSetter
let content; let content;
Ok(ast::ImplPropSetter { Ok(ast::ImplPropSetter {
set: input.parse()?, set: input.parse()?,
paran: parenthesized!(content in input), paren: parenthesized!(content in input),
amp: content.parse()?, amp: content.parse()?,
self_: content.parse()?, self_: content.parse()?,
comma: content.parse()?, comma: content.parse()?,
...@@ -272,7 +272,7 @@ impl Parse for ast::ImplPropDefault ...@@ -272,7 +272,7 @@ impl Parse for ast::ImplPropDefault
let _content; let _content;
Ok(ast::ImplPropDefault { Ok(ast::ImplPropDefault {
default: input.parse()?, default: input.parse()?,
paran: parenthesized!(_content in input), paren: parenthesized!(_content in input),
rarrow: input.parse()?, rarrow: input.parse()?,
self_: input.parse()?, self_: input.parse()?,
block: input.parse()?, block: input.parse()?,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment