We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2531b0 commit 1f0c1aaCopy full SHA for 1f0c1aa
Readme.md
@@ -55,6 +55,8 @@ which allow to create a parser from string or a byte vector.
55
over events:
56
57
```rust
58
+#![feature(globs)]
59
+
60
extern crate xml;
61
62
use std::io::File;
@@ -79,11 +81,11 @@ fn main() {
79
81
let mut depth = 0;
80
82
for e in parser.events() {
83
match e {
- StartElement { name, _, _ } => {
84
+ StartElement { name, .. } => {
85
println!("{}/{}", indent(depth), name);
86
depth += 1;
87
}
- EndElement(name) => {
88
+ EndElement { name } => {
89
depth -= 1;
90
91
0 commit comments