Skip to content

Commit 6eb7e20

Browse files
committed
Format files.
1 parent a562909 commit 6eb7e20

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

battleground_construct/src/util/box_collision.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use cgmath::{BaseNum, Vector3};
2-
use serde::{Serialize, Deserialize};
2+
use serde::{Deserialize, Serialize};
33

44
/// Generic AxisAlignedBox of given dimensions. AxisAlignedBox is centered around the origin.
55
/// Technicallly a RectangularAxisAlignedBox.

battleground_unit_control/src/register_interface.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,12 @@ impl RegisterInterface {
244244
);
245245
}
246246

247-
pub fn add_module<M: UnitModule + Sized + 'static>(&mut self, name: &str, index: ModuleId, handler: M)
248-
{
247+
pub fn add_module<M: UnitModule + Sized + 'static>(
248+
&mut self,
249+
name: &str,
250+
index: ModuleId,
251+
handler: M,
252+
) {
249253
self.modules.insert(
250254
index,
251255
Module {

0 commit comments

Comments
 (0)