| commit | b4a05c3621964bb2d5d8e9bf9ccb651aebf4f7ff | [log] [tgz] |
|---|---|---|
| author | David Tolnay <dtolnay@gmail.com> | Wed Dec 30 15:37:01 2020 -0800 |
| committer | David Tolnay <dtolnay@gmail.com> | Wed Dec 30 15:46:47 2020 -0800 |
| tree | 99cbffdc2979e86988366253903bb9cac36f75cf | |
| parent | 0bdabfdc98d73df7d26c94efcc3e61b62e111fb7 [diff] [blame] |
Preserve doc attributes on struct fields
diff --git a/syntax/mod.rs b/syntax/mod.rs index f6bdf72..092f403 100644 --- a/syntax/mod.rs +++ b/syntax/mod.rs
@@ -150,6 +150,7 @@ } pub struct Var { + pub doc: Doc, pub visibility: Token![pub], pub ident: Ident, pub ty: Type,