diff options
author | Justin Worthe <justin@worthe-it.co.za> | 2019-06-27 18:07:28 +0200 |
---|---|---|
committer | Justin Worthe <justin@worthe-it.co.za> | 2019-06-27 18:07:28 +0200 |
commit | 0e3548c13634e078b71c022ac49a3cea7e0c420d (patch) | |
tree | b4959173d6b1ec95af94d8efa2a7949b7b6d6417 /src/geometry | |
parent | b7e5273627c1b6db9faf8e29e2445bdbba802453 (diff) |
Implemented bomb attacks
Diffstat (limited to 'src/geometry')
-rw-r--r-- | src/geometry/vec.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/geometry/vec.rs b/src/geometry/vec.rs index ab2210d..c99cf5e 100644 --- a/src/geometry/vec.rs +++ b/src/geometry/vec.rs @@ -17,7 +17,7 @@ macro_rules! impl_vector { } impl<T> $VecN<T> { - pub fn new($($field: T),+) -> $VecN<T> { + pub const fn new($($field: T),+) -> $VecN<T> { $VecN { $($field),+ } } } |