From 5aa0fd44535faa0ea1c0522b089e16d4b57e4e6f Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 28 Jun 2020 12:34:49 -0400 Subject: Apply some rustfmt suggestions --- src/coords.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/coords.rs') diff --git a/src/coords.rs b/src/coords.rs index a95e378..2e292ae 100644 --- a/src/coords.rs +++ b/src/coords.rs @@ -39,7 +39,7 @@ impl Coordinates for [T] { /// [`Coordinates`] implementation for arrays. macro_rules! array_coordinates { - ($n:expr) => ( + ($n:expr) => { impl Coordinates for [T; $n] { type Value = T; @@ -51,7 +51,7 @@ macro_rules! array_coordinates { self[i] } } - ); + }; } array_coordinates!(1); -- cgit v1.2.3