"paran" -> "paren" for parentheses

parent 0359827b
......@@ -168,7 +168,7 @@ pub enum ImplPropBlock {
// get(&self) -> T {}
pub struct ImplPropGetter {
pub get: keywords::get,
pub paran: token::Paren,
pub paren: token::Paren,
pub and: Token![&],
pub self_: Token![self],
pub rarrow: Token![->],
......@@ -179,7 +179,7 @@ pub struct ImplPropGetter {
// set(&mut self, ident: T)
pub struct ImplPropSetter {
pub set: keywords::set,
pub paran: token::Paren,
pub paren: token::Paren,
pub amp: Token![&],
pub self_: Token![self],
pub comma: Token![,],
......@@ -192,7 +192,7 @@ pub struct ImplPropSetter {
// default() -> T { }
pub struct ImplPropDefault {
pub default: Token![default],
pub paran: token::Paren,
pub paren: token::Paren,
pub rarrow: Token![->],
pub self_: keywords::T,
pub block: Block,
......
......@@ -238,7 +238,7 @@ impl Parse for ast::ImplPropGetter
let content;
Ok(ast::ImplPropGetter {
get: input.parse()?,
paran: parenthesized!(content in input),
paren: parenthesized!(content in input),
and: content.parse()?,
self_: content.parse()?,
rarrow: input.parse()?,
......@@ -254,7 +254,7 @@ impl Parse for ast::ImplPropSetter
let content;
Ok(ast::ImplPropSetter {
set: input.parse()?,
paran: parenthesized!(content in input),
paren: parenthesized!(content in input),
amp: content.parse()?,
self_: content.parse()?,
comma: content.parse()?,
......@@ -272,7 +272,7 @@ impl Parse for ast::ImplPropDefault
let _content;
Ok(ast::ImplPropDefault {
default: input.parse()?,
paran: parenthesized!(_content in input),
paren: parenthesized!(_content in input),
rarrow: input.parse()?,
self_: 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