| commit | 64343af04d3fb5a6c5f745b5871e67d1d23d3dfd | [log] [tgz] |
|---|---|---|
| author | David Tolnay <dtolnay@gmail.com> | Wed Dec 30 15:26:06 2020 -0800 |
| committer | David Tolnay <dtolnay@gmail.com> | Wed Dec 30 15:34:09 2020 -0800 |
| tree | 57f8f2b304fa22272318c702bc6fbb24c59aa783 | |
| parent | 89902443e84e405c01ecbd16b8923e758f9c41dd [diff] [blame] |
Fix span placement on shared structs
diff --git a/syntax/mod.rs b/syntax/mod.rs index 8247d19..f6bdf72 100644 --- a/syntax/mod.rs +++ b/syntax/mod.rs
@@ -84,6 +84,7 @@ pub struct Struct { pub doc: Doc, pub derives: Vec<Derive>, + pub visibility: Token![pub], pub struct_token: Token![struct], pub name: Pair, pub brace_token: Brace,