ozkriff / zoc

⬡ Zone of Control is a hexagonal turn-based strategy game written in Rust. [DISCONTINUED]
https://ozkriff.itch.io/zoc
Apache License 2.0
379 stars 31 forks source link

Get rid of `use ::{` #240

Closed ozkriff closed 7 years ago

ozkriff commented 8 years ago
$ git grep 'use ::'
core/src/ai.rs:use ::{
core/src/db.rs:use ::{MovePoints, AttackPoints};
core/src/dir.rs:use ::{MapPos};
core/src/filter.rs:use ::{CoreEvent, AttackInfo, UnitInfo, UnitId, PlayerId, unit_to_info};
core/src/fov.rs:use ::{MapPos, ObjectClass};
core/src/fow.rs:use ::{CoreEvent, PlayerId, MapPos, ExactPos, ObjectClass};
core/src/game_state.rs:use ::{CoreEvent, UnitId, ObjectId, Object, MapPos, Sector, SectorId, PlayerId, Score};
core/src/geom.rs:use ::{MapPos};
core/src/internal_state.rs:use ::{
core/src/lib.rs:    use ::{Sector, MapPos};
core/src/map.rs:use ::{MapPos};
core/src/map.rs:    use ::{MapPos};
core/src/partial_state.rs:use ::{CoreEvent, PlayerId, UnitId, ObjectId, Object, MapPos, Score, Sector, SectorId};
core/src/pathfinder.rs:use ::{MovePoints, ExactPos, SlotId, ObjectClass, get_free_exact_pos};
core/src/unit.rs:use ::{ReactionFireMode, MovePoints, AttackPoints, UnitId, PlayerId, ExactPos};
src/geom.rs:    use ::types::{WorldPos};

I consider this to be a hint about splitting lib.rs into multiple smaller modules.