Commit d84a6a95 authored by shindli's avatar shindli
Browse files

Merge mozilla-central to autoland. a=merge CLOSED TREE

parents b4fe378c f5431617
......@@ -53,7 +53,7 @@ ${helpers.single_keyword(
>
impl computed_value::T {
pub fn is_absolutely_positioned(self) -> bool {
matches!(self, Self::Absolute | Self::Fixed)
matches!(self, computed_value::T::Absolute | computed_value::T::Fixed)
}
}
</%helpers:single_keyword>
......
......@@ -64,7 +64,7 @@ pub enum Float {
impl Float {
/// Returns true if `self` is not `None`.
pub fn is_floating(self) -> bool {
self != Self::None
self != Float::None
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment