Skip to content

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueGreenMagick committed Sep 19, 2024
1 parent 3d0c778 commit d350ec5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/reader/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,7 @@ impl BangType {
*balance += 1;
} else {
if *balance == 0 {
return Some((&chunk[..i], i + 1))
return Some((&chunk[..i], i + 1));
}
*balance -= 1;
}
Expand Down
2 changes: 1 addition & 1 deletion tests/issues.rs
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ fn issue776() {
#[test]
fn issue801() {
let xml = b"<!DOCTYPE X [<!-- --><!ENTITY a \"a\">]>";
let reader = BufReader::with_capacity(4, &xml[..]);
let reader = BufReader::with_capacity(4, &xml[..]);
let mut reader = Reader::from_reader(reader);
let mut buf = Vec::new();
loop {
Expand Down

0 comments on commit d350ec5

Please sign in to comment.