Skip to content

Commit 10b48e4

Browse files
author
bors-servo
authored
Auto merge of #267 - kivikakk:receive, r=jdm
Minor spelling/typo fix `s/recieve/receive/g` <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/html5ever/267) <!-- Reviewable:end -->
2 parents 1f5822a + fe92ace commit 10b48e4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/driver.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ pub fn parse_fragment_for_element<Sink>(sink: Sink, opts: ParseOpts,
7777
}
7878

7979
/// An HTML parser,
80-
/// ready to recieve Unicode input through the `tendril::TendrilSink` trait’s methods.
80+
/// ready to receive Unicode input through the `tendril::TendrilSink` trait’s methods.
8181
pub struct Parser<Sink> where Sink: TreeSink {
8282
pub tokenizer: Tokenizer<TreeBuilder<Sink::Handle, Sink>>,
8383
pub input_buffer: BufferQueue,
@@ -142,7 +142,7 @@ pub struct BytesOpts {
142142
}
143143

144144
/// An HTML parser,
145-
/// ready to recieve bytes input through the `tendril::TendrilSink` trait’s methods.
145+
/// ready to receive bytes input through the `tendril::TendrilSink` trait’s methods.
146146
///
147147
/// See `Parser::from_bytes`.
148148
pub struct BytesParser<Sink> where Sink: TreeSink {

xml5ever/src/driver.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ pub fn parse_document<Sink>(sink: Sink, opts: XmlParseOpts) -> XmlParser<Sink>
4444
}
4545

4646
/// An XML parser,
47-
/// ready to recieve Unicode input through the `tendril::TendrilSink` trait’s methods.
47+
/// ready to receive Unicode input through the `tendril::TendrilSink` trait’s methods.
4848
pub struct XmlParser<Sink> where Sink: TreeSink {
4949
/// Tokenizer used by XmlParser.
5050
pub tokenizer: XmlTokenizer<XmlTreeBuilder<Sink::Handle, Sink>>,
@@ -116,7 +116,7 @@ pub struct BytesOpts {
116116
}
117117

118118
/// An HTML parser,
119-
/// ready to recieve bytes input through the `tendril::TendrilSink` trait’s methods.
119+
/// ready to receive bytes input through the `tendril::TendrilSink` trait’s methods.
120120
///
121121
/// See `Parser::from_bytes`.
122122
pub struct BytesParser<Sink> where Sink: TreeSink {

0 commit comments

Comments
 (0)