diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/emitter.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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<R> { 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<R, S> { current_characters: String, current_token: Option<Token<S>>, |