diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2020-06-28 12:34:49 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2020-06-28 12:34:49 -0400 |
commit | 5aa0fd44535faa0ea1c0522b089e16d4b57e4e6f (patch) | |
tree | 1dcc37412195f0851dd86b836368bf809a35b4b4 /src/coords.rs | |
parent | 7ce5a60f5fc69f9c47cdae2762b14873d3e90733 (diff) | |
download | acap-5aa0fd44535faa0ea1c0522b089e16d4b57e4e6f.tar.xz |
Apply some rustfmt suggestions
Diffstat (limited to 'src/coords.rs')
-rw-r--r-- | src/coords.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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<T: Value> Coordinates for [T] { /// [`Coordinates`] implementation for arrays. macro_rules! array_coordinates { - ($n:expr) => ( + ($n:expr) => { impl<T: Value> Coordinates for [T; $n] { type Value = T; @@ -51,7 +51,7 @@ macro_rules! array_coordinates { self[i] } } - ); + }; } array_coordinates!(1); |