Rename ParenthesizedArgData to ParenthesisedArgs

This commit is contained in:
varkor 2018-06-17 16:04:10 +01:00
parent 95ce05c586
commit 21136b8ab4
4 changed files with 13 additions and 13 deletions

View file

@ -146,7 +146,7 @@ pub enum GenericArgs {
/// The `<'a, A,B,C>` in `foo::bar::baz::<'a, A,B,C>`
AngleBracketed(AngleBracketedArgs),
/// The `(A,B)` and `C` in `Foo(A,B) -> C`
Parenthesized(ParenthesizedArgData),
Parenthesized(ParenthesisedArgs),
}
impl GenericArgs {
@ -183,7 +183,7 @@ impl Into<Option<P<GenericArgs>>> for AngleBracketedArgs {
}
}
impl Into<Option<P<GenericArgs>>> for ParenthesizedArgData {
impl Into<Option<P<GenericArgs>>> for ParenthesisedArgs {
fn into(self) -> Option<P<GenericArgs>> {
Some(P(GenericArgs::Parenthesized(self)))
}
@ -191,7 +191,7 @@ impl Into<Option<P<GenericArgs>>> for ParenthesizedArgData {
/// A path like `Foo(A,B) -> C`
#[derive(Clone, PartialEq, Eq, RustcEncodable, RustcDecodable, Hash, Debug)]
pub struct ParenthesizedArgData {
pub struct ParenthesisedArgs {
/// Overall span
pub span: Span,