--- a/rust/hwphysics/src/common.rs Tue Jun 04 23:19:18 2019 +0300
+++ b/rust/hwphysics/src/common.rs Tue Jun 04 22:34:42 2019 +0200
@@ -1,10 +1,10 @@
-pub type GearId = u16;
-pub trait GearData {}
-
-pub trait GearDataProcessor<T: GearData> {
- fn add(&mut self, gear_id: GearId, gear_data: T);
-}
-
-pub trait GearDataAggregator<T: GearData> {
- fn find_processor(&mut self) -> &mut GearDataProcessor<T>;
-}
+pub type GearId = u16;
+pub trait GearData {}
+
+pub trait GearDataProcessor<T: GearData> {
+ fn add(&mut self, gear_id: GearId, gear_data: T);
+}
+
+pub trait GearDataAggregator<T: GearData> {
+ fn find_processor(&mut self) -> &mut GearDataProcessor<T>;
+}