Skip to content

Commit 24e1162

Browse files
author
bors-servo
authored
Auto merge of #309 - lnicola:patch-1, r=jdm
Remove Parser::from_bytes reference Fixes #275
2 parents 6b512af + c3ce3e9 commit 24e1162

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

html5ever/src/driver.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ pub struct ParseOpts {
3636
/// so that Unicode input may be provided incrementally,
3737
/// or all at once with the `one` method.
3838
///
39-
/// If your input is bytes, use `Parser::from_utf8` or `Parser::from_bytes`.
39+
/// If your input is bytes, use `Parser::from_utf8`.
4040
pub fn parse_document<Sink>(sink: Sink, opts: ParseOpts) -> Parser<Sink> where Sink: TreeSink {
4141
let tb = TreeBuilder::new(sink, opts.tree_builder);
4242
let tok = Tokenizer::new(tb, opts.tokenizer);
@@ -49,7 +49,7 @@ pub fn parse_document<Sink>(sink: Sink, opts: ParseOpts) -> Parser<Sink> where S
4949
/// so that Unicode input may be provided incrementally,
5050
/// or all at once with the `one` method.
5151
///
52-
/// If your input is bytes, use `Parser::from_utf8` or `Parser::from_bytes`.
52+
/// If your input is bytes, use `Parser::from_utf8`.
5353
pub fn parse_fragment<Sink>(mut sink: Sink, opts: ParseOpts,
5454
context_name: QualName, context_attrs: Vec<Attribute>)
5555
-> Parser<Sink>

0 commit comments

Comments
 (0)