aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2023-08-12 09:46:58 +0200
committerMartin Fischer <martin@push-f.com>2023-08-19 06:41:55 +0200
commitceaee3c83f32e573506b2da9f01fbcf56a5198e5 (patch)
treefe2cdf0afdb2d91bedb0d0f3f5ecd32856f451fe /src
parent9f1019afa7a8e9102d67356d85bd632044eb2d0c (diff)
docs: move `produce ("emit")` clue to Emitter doc
Diffstat (limited to 'src')
-rw-r--r--src/emitter.rs4
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>>,