File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ pub struct ParseOpts {
36
36
/// so that Unicode input may be provided incrementally,
37
37
/// or all at once with the `one` method.
38
38
///
39
- /// If your input is bytes, use `Parser::from_utf8` or `Parser::from_bytes` .
39
+ /// If your input is bytes, use `Parser::from_utf8`.
40
40
pub fn parse_document < Sink > ( sink : Sink , opts : ParseOpts ) -> Parser < Sink > where Sink : TreeSink {
41
41
let tb = TreeBuilder :: new ( sink, opts. tree_builder ) ;
42
42
let tok = Tokenizer :: new ( tb, opts. tokenizer ) ;
@@ -49,7 +49,7 @@ pub fn parse_document<Sink>(sink: Sink, opts: ParseOpts) -> Parser<Sink> where S
49
49
/// so that Unicode input may be provided incrementally,
50
50
/// or all at once with the `one` method.
51
51
///
52
- /// If your input is bytes, use `Parser::from_utf8` or `Parser::from_bytes` .
52
+ /// If your input is bytes, use `Parser::from_utf8`.
53
53
pub fn parse_fragment < Sink > ( mut sink : Sink , opts : ParseOpts ,
54
54
context_name : QualName , context_attrs : Vec < Attribute > )
55
55
-> Parser < Sink >
You can’t perform that action at this time.
0 commit comments