Skip to content

Commit 166376d

Browse files
authored
Merge pull request #874 from fukusuket/update-readme-example-code
Update README Reader example code
2 parents e8806e0 + 398a7a6 commit 166376d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ loop {
5353
_ => (),
5454
}
5555
}
56-
Ok(Event::Text(e)) => txt.push(e.unescape().unwrap().into_owned()),
56+
Ok(Event::Text(e)) => txt.push(e.decode().unwrap().into_owned()),
5757

5858
// There are several other `Event`s we do not consider here
5959
_ => (),

0 commit comments

Comments
 (0)