style: Remove unused std::ops::Rem implementations

Differential Revision: https://phabricator.services.mozilla.com/D161844
This commit is contained in:
Connor Pearson 2022-11-10 21:35:00 +00:00 committed by Martin Robinson
parent 91626808e9
commit 2a7055a8ff
2 changed files with 2 additions and 29 deletions

View file

@ -17,7 +17,7 @@ use crate::values::{specified, CSSFloat};
use crate::Zero;
use app_units::Au;
use std::fmt::{self, Write};
use std::ops::{Add, AddAssign, Div, Mul, MulAssign, Neg, Rem, Sub, SubAssign};
use std::ops::{Add, AddAssign, Div, Mul, MulAssign, Neg, Sub, SubAssign};
use style_traits::{CSSPixel, CssWriter, ToCss};
pub use super::image::Image;
@ -402,15 +402,6 @@ impl Neg for CSSPixelLength {
}
}
impl Rem for CSSPixelLength {
type Output = Self;
#[inline]
fn rem(self, other: Self) -> Self {
CSSPixelLength::new(self.0 % other.0)
}
}
impl Sub for CSSPixelLength {
type Output = Self;