diff options
| author | varkor <github@varkor.com> | 2019-09-26 18:04:05 +0100 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2019-09-26 18:21:48 +0100 |
| commit | 38121173e27d304366c6fd422318e1e424941b7c (patch) | |
| tree | 9016704208a96e5da5e8918388f512ba5f03a638 /src/libsyntax/print | |
| parent | b4748679611c97c09cfb7096917d7830c410a4ad (diff) | |
Rename `MetaItem.node` to `MetaItem.kind`
Diffstat (limited to 'src/libsyntax/print')
| -rw-r--r-- | src/libsyntax/print/pprust.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs index 3cf5e4a248c..a5792dab474 100644 --- a/src/libsyntax/print/pprust.rs +++ b/src/libsyntax/print/pprust.rs @@ -662,7 +662,7 @@ pub trait PrintState<'a>: std::ops::Deref<Target = pp::Printer> + std::ops::Dere fn print_meta_item(&mut self, item: &ast::MetaItem) { self.ibox(INDENT_UNIT); - match item.node { + match item.kind { ast::MetaItemKind::Word => self.print_path(&item.path, false, 0), ast::MetaItemKind::NameValue(ref value) => { self.print_path(&item.path, false, 0); |
