Remove unused code from selector and style crates

This commit is contained in:
est31 2019-06-07 10:49:07 +02:00
parent 8dc7a25893
commit 642b7c3ea1
9 changed files with 1 additions and 101 deletions

View file

@ -105,12 +105,6 @@ impl RestyleHint {
Self::empty()
}
/// Creates a new `RestyleHint` that indicates the element must be
/// recascaded.
pub fn recascade_self() -> Self {
RestyleHint::RECASCADE_SELF
}
/// Returns a hint that contains all the replacement hints.
pub fn replacements() -> Self {
RestyleHint::RESTYLE_STYLE_ATTRIBUTE | Self::for_animations()