Skip to content

Commit eb25587

Browse files
committed
Fix order of import statements using rustfmt
1 parent 1960d11 commit eb25587

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

screeps-game-api/src/game.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,8 @@ pub fn time() -> u32 {
508508
/// `ConversionError` if the type does not match.
509509
///
510510
/// If all you want to assume is that something has an ID, use
511-
/// [`get_object_erased`]. [http://docs.screeps.com/api/#Game.getObjectById]: http://docs.screeps.com/api/#Game.getObjectById
511+
/// [`get_object_erased`].
512+
/// [http://docs.screeps.com/api/#Game.getObjectById]: http://docs.screeps.com/api/#Game.getObjectById
512513
pub fn get_object_typed<T>(id: &str) -> Result<Option<T>, ConversionError>
513514
where
514515
T: HasId + SizedRoomObject,

0 commit comments

Comments
 (0)