Fix grammar mistake
This commit is contained in:
parent
e172161b1e
commit
099f07ebac
1 changed files with 2 additions and 2 deletions
|
|
@ -340,7 +340,7 @@ impl Attr {
|
||||||
Self::new("id", id)
|
Self::new("id", id)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Create (or append) to a `class` attribute.
|
/// Create (or append to) a `class` attribute.
|
||||||
///
|
///
|
||||||
/// `Attr::class(class)` is equivalent to
|
/// `Attr::class(class)` is equivalent to
|
||||||
/// `Attr::append("class", class, " ")`.
|
/// `Attr::append("class", class, " ")`.
|
||||||
|
|
@ -348,7 +348,7 @@ impl Attr {
|
||||||
Self::append("class", class, " ")
|
Self::append("class", class, " ")
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Create (or append) to a `style` attribute.
|
/// Create (or append to) a `style` attribute.
|
||||||
///
|
///
|
||||||
/// `Attr::style(style)` is equivalent to
|
/// `Attr::style(style)` is equivalent to
|
||||||
/// `Attr::append("style", style, ";")`.
|
/// `Attr::append("style", style, ";")`.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue