aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2021-11-29 15:23:32 +0100
committerMartin Fischer <martin@push-f.com>2021-11-29 15:24:37 +0100
commit20c0bdba6386a72dffa9fa55c4bb6d4fffd378ca (patch)
tree84e6ad77f03c21bea8d30c3b6560a397e30086e0
parent921a0354873c3038acfe3fb121fac31992fb849d (diff)
docs: fix link & remove outdated comment
-rw-r--r--src/tokenizer/interface.rs2
-rw-r--r--src/tokenizer/mod.rs3
2 files changed, 1 insertions, 4 deletions
diff --git a/src/tokenizer/interface.rs b/src/tokenizer/interface.rs
index dfd9a9f..53b06ae 100644
--- a/src/tokenizer/interface.rs
+++ b/src/tokenizer/interface.rs
@@ -114,7 +114,7 @@ pub trait TokenSink {
/// Used in the markup declaration open state. By default, this always
/// returns false and thus all CDATA sections are tokenized as bogus
/// comments.
- /// https://html.spec.whatwg.org/multipage/#markup-declaration-open-state
+ /// <https://html.spec.whatwg.org/multipage/#markup-declaration-open-state>
fn adjusted_current_node_present_but_not_in_html_namespace(&self) -> bool {
false
}
diff --git a/src/tokenizer/mod.rs b/src/tokenizer/mod.rs
index 38b9a69..fa01be8 100644
--- a/src/tokenizer/mod.rs
+++ b/src/tokenizer/mod.rs
@@ -76,9 +76,6 @@ pub struct TokenizerOpts {
/// Last start tag. Only the test runner should use a
/// non-`None` value!
- ///
- /// FIXME: Can't use Tendril because we want TokenizerOpts
- /// to be Send.
pub last_start_tag_name: Option<String>,
}