commit | d0bb3646cf05ce8b96bc3fb7378d71a2001c68d8 | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Sun Mar 15 23:27:11 2020 -0700 |
committer | David Tolnay <dtolnay@gmail.com> | Sun Mar 15 23:27:49 2020 -0700 |
tree | 0a9da6acd3745c039c86fa834ed4c40e172cce54 | |
parent | c21b20ac0fc30845ce1b25377b7c09d9d6aef300 [diff] [blame] |
Remove Span wrapper type
diff --git a/syntax/tokens.rs b/syntax/tokens.rs index 4ddc1a6..52c47d5 100644 --- a/syntax/tokens.rs +++ b/syntax/tokens.rs
@@ -16,7 +16,7 @@ } Type::RustBox(ty) | Type::UniquePtr(ty) => ty.to_tokens(tokens), Type::Ref(r) | Type::Str(r) => r.to_tokens(tokens), - Type::Void(span) => tokens.extend(quote_spanned!(span.0=> ())), + Type::Void(span) => tokens.extend(quote_spanned!(*span=> ())), } } }