cargo fmt
Delta semántico · 1
src/geometry.rs
- cambió de firma def zip_size
1 archivos · +2 −2
- src/geometry.rs +2 −2
diff --git a/src/geometry.rs b/src/geometry.rs
index 3d84476ef..21c1206dc 100644
--- a/src/geometry.rs
+++ b/src/geometry.rs
@@ -25,13 +25,13 @@ impl<T> Rect<T> {
pub(crate) fn zip_size<R, F, U>(self, size: Size<U>, f: F) -> Rect<R>
where
F: Fn(T, U) -> R,
- U: Copy
+ U: Copy,
{
Rect {
start: f(self.start, size.width),
end: f(self.end, size.width),
top: f(self.top, size.height),
- bottom: f(self.bottom, size.height)
+ bottom: f(self.bottom, size.height),
}
}
}