mirror of
https://github.com/servo/servo.git
synced 2025-07-02 21:13:39 +01:00
Use specific assertion for style logical geometry
This commit is contained in:
parent
9c7ff219d7
commit
775d6abb34
1 changed files with 2 additions and 2 deletions
|
@ -265,12 +265,12 @@ impl DebugWritingMode {
|
|||
impl DebugWritingMode {
|
||||
#[inline]
|
||||
fn check(&self, other: WritingMode) {
|
||||
assert!(self.mode == other)
|
||||
assert_eq!(self.mode, other)
|
||||
}
|
||||
|
||||
#[inline]
|
||||
fn check_debug(&self, other: DebugWritingMode) {
|
||||
assert!(self.mode == other.mode)
|
||||
assert_eq!(self.mode, other.mode)
|
||||
}
|
||||
|
||||
#[inline]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue