summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/emitter.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/emitter.rs b/src/emitter.rs
index ed8e978..f27c778 100644
--- a/src/emitter.rs
+++ b/src/emitter.rs
@@ -577,8 +577,7 @@ pub struct StartTag<O> {
/// A mapping for any HTML attributes this start tag may have.
///
- /// Duplicate attributes are ignored after the first one as per WHATWG spec. Implement your own
- /// [`Emitter`] to tweak this behavior.
+ /// Duplicate attributes are ignored after the first one as per WHATWG spec.
pub attributes: crate::attr::AttributeMap<O>,
/// The source code span of the tag.
@@ -674,8 +673,7 @@ impl<O: Offset> Doctype<O> {
}
}
-/// The token type used by default. You can define your own token type by implementing the
-/// [`Emitter`] trait.
+/// A type for the tokens emitted by a WHATWG-compliant HTML tokenizer.
#[derive(Debug, Eq, PartialEq)]
pub enum Token<O> {
/// An HTML start tag.