diff options
author | Martin Fischer <martin@push-f.com> | 2023-08-11 21:25:21 +0200 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2023-08-19 06:41:55 +0200 |
commit | 83144505291319395c1ba40035cf933786bf3422 (patch) | |
tree | f7b9cb85c8000ab3690b1813e4ee0f020dba5873 /tests/test_spans.rs | |
parent | 410bff8467a29eae8a7fba26176b8e8d25b734a2 (diff) |
break!: remove InfallibleTokenizer in favor of Iterator::flatten
Diffstat (limited to 'tests/test_spans.rs')
-rw-r--r-- | tests/test_spans.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_spans.rs b/tests/test_spans.rs index 61b70ce..2d32260 100644 --- a/tests/test_spans.rs +++ b/tests/test_spans.rs @@ -25,7 +25,7 @@ fn test() { }, DefaultEmitter::<PosTracker<StringReader>, Range<usize>>::default(), ) - .infallible() + .flatten() { if let Token::StartTag(tag) = token { if tag.name == "h1" { |