Skip to content

Commit 30891d2

Browse files
author
Richard Dodd
committed
Fix typos
1 parent ba7e78e commit 30891d2

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

markup5ever/data/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
77
// option. This file may not be copied, modified, or distributed
88
// except according to those terms.
9+
//! Data that is known at compile-time and hard-coded into the binary.
910
use phf::Map;
1011

1112
/// The spec replaces most characters in the ISO-2022 C1 control code range

markup5ever/serialize.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,10 @@ pub trait Serializer {
6060
}
6161

6262
/// A type alias for an attribute name and value (e.g. the `class="test"` in `<div class="test">`
63-
/// is represented as `(<QualName of type class>, test).
63+
/// is represented as `(<QualName of type class>, "test")`.
6464
///
6565
/// This is used in [`Serializer::start_elem`] where the value being serialized must supply an
6666
/// iterator over the attributes for the current element
67+
///
68+
/// [`Serializer::start_elem`]: trait.Serializer.html#tymethod.start_elem
6769
pub type AttrRef<'a> = (&'a QualName, &'a str);

0 commit comments

Comments
 (0)