| commit | f6cad33f31b265e505cac16f32a2a5f293a2ed29 | [log] [tgz] |
|---|---|---|
| author | David Tolnay <dtolnay@gmail.com> | Sat Apr 10 13:40:03 2021 -0700 |
| committer | David Tolnay <dtolnay@gmail.com> | Sat Apr 10 13:42:07 2021 -0700 |
| tree | ffd2cc483af13e1c14b8c80dc8b8877b408da26f | |
| parent | bc292fc66282b8e94979e8c89cd0e00095c74445 [diff] [blame] |
Store span of function argument colon tokens
diff --git a/syntax/tokens.rs b/syntax/tokens.rs index c1a06a2..a668aa6 100644 --- a/syntax/tokens.rs +++ b/syntax/tokens.rs
@@ -43,6 +43,7 @@ attrs: _, visibility: _, name, + colon_token: _, ty, } = self; name.rust.to_tokens(tokens);