From 1e9dadc785a75aba5843edc93d193a67cc7468de Mon Sep 17 00:00:00 2001 From: Jules Bertholet Date: Fri, 27 Aug 2021 10:16:15 -0400 Subject: [PATCH] Cargo fmt --- crates/js-sys/src/lib.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/js-sys/src/lib.rs b/crates/js-sys/src/lib.rs index c623121f25e..3f46440dd10 100644 --- a/crates/js-sys/src/lib.rs +++ b/crates/js-sys/src/lib.rs @@ -182,28 +182,28 @@ macro_rules! partialord_ord { fn partial_cmp(&self, other: &Self) -> Option { Some(self.cmp(other)) } - + #[inline] fn lt(&self, other: &Self) -> bool { JsValue::as_ref(self).lt(JsValue::as_ref(other)) } - + #[inline] fn le(&self, other: &Self) -> bool { JsValue::as_ref(self).le(JsValue::as_ref(other)) } - + #[inline] fn ge(&self, other: &Self) -> bool { JsValue::as_ref(self).ge(JsValue::as_ref(other)) } - + #[inline] fn gt(&self, other: &Self) -> bool { JsValue::as_ref(self).gt(JsValue::as_ref(other)) } } - + impl Ord for $t { #[inline] fn cmp(&self, other: &Self) -> Ordering {