From ceaee3c83f32e573506b2da9f01fbcf56a5198e5 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sat, 12 Aug 2023 09:46:58 +0200 Subject: docs: move `produce ("emit")` clue to Emitter doc --- src/emitter.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/emitter.rs b/src/emitter.rs index 110ed5d..b660c1f 100644 --- a/src/emitter.rs +++ b/src/emitter.rs @@ -8,7 +8,7 @@ use std::mem; use crate::spans::Span; use crate::Error; -/// An emitter is an object providing methods to the tokenizer to produce tokens. +/// An emitter is an object providing methods to the tokenizer to produce ("emit") tokens. /// /// Domain-specific applications of the HTML tokenizer can manually implement this trait to /// customize per-token allocations, or avoid them altogether. @@ -174,7 +174,7 @@ pub trait Emitter { fn current_is_appropriate_end_tag_token(&mut self) -> bool; } -/// The default implementation of [`crate::Emitter`], used to produce ("emit") tokens. +/// The default implementation of [`crate::Emitter`], used to produce tokens. pub struct DefaultEmitter { current_characters: String, current_token: Option>, -- cgit v1.2.3