fix build with html5ever bump

This commit is contained in:
klensy 2024-06-15 20:36:54 +03:00
parent 52242f2c72
commit d69f088538

View File

@ -503,7 +503,7 @@ fn maybe_redirect(source: &str) -> Option<String> {
fn parse_html<Sink: TokenSink>(source: &str, sink: Sink) -> Sink {
let tendril: ByteTendril = source.as_bytes().into();
let mut input = BufferQueue::new();
let mut input = BufferQueue::default();
input.push_back(tendril.try_reinterpret().unwrap());
let mut tok = Tokenizer::new(sink, TokenizerOpts::default());