Fix incorrectly copy-pasted doc-comments.

This commit is contained in:
Simon Sapin 2017-02-02 20:00:40 +01:00
parent f6bf397bb2
commit 0f351cb851

View file

@ -286,10 +286,10 @@ macro_rules! font_face_descriptors {
#[cfg(feature = "gecko")] #[cfg(feature = "gecko")]
font_face_descriptors! { font_face_descriptors! {
mandatory descriptors = [ mandatory descriptors = [
/// The specified url. /// The name of this font face
"font-family" family: FamilyName = FamilyName(atom!("")), "font-family" family: FamilyName = FamilyName(atom!("")),
/// The format hints specified with the `format()` function. /// The alternative sources for this font face.
"src" sources: Vec<Source> = Vec::new(), "src" sources: Vec<Source> = Vec::new(),
] ]
optional descriptors = [ optional descriptors = [
@ -307,10 +307,10 @@ font_face_descriptors! {
#[cfg(feature = "servo")] #[cfg(feature = "servo")]
font_face_descriptors! { font_face_descriptors! {
mandatory descriptors = [ mandatory descriptors = [
/// The specified url. /// The name of this font face
"font-family" family: FamilyName = FamilyName(atom!("")), "font-family" family: FamilyName = FamilyName(atom!("")),
/// The format hints specified with the `format()` function. /// The alternative sources for this font face.
"src" sources: Vec<Source> = Vec::new(), "src" sources: Vec<Source> = Vec::new(),
] ]
optional descriptors = [ optional descriptors = [