Skip to content

Commit a4c0064

Browse files
committed
style(core): format shared player contracts
1 parent 6f2d7a9 commit a4c0064

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

‎crates/core/gfa-core/src/player.rs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ pub trait Opponent: Send + Sync {
104104
) -> Result<ActionChoice, GameError>;
105105
}
106106

107-
108107
fn invalid(message: &str) -> GameError {
109108
GameError::new(
110109
ErrorCode::InvalidConfig,

‎crates/players/gfa-opponents/src/lib.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ pub use gfa_core::{ActionChoice, ChoiceInfo, Clock, Opponent, PlayerTurn, Search
88

99
use gfa_core::serde_json::Value;
1010
use gfa_core::{
11-
DynGame, ErrorCode, GameError, Information, LegalAction, PlayerId, SeededRng,
12-
TurnStructure, Viewer,
11+
DynGame, ErrorCode, GameError, Information, LegalAction, PlayerId, SeededRng, TurnStructure,
12+
Viewer,
1313
};
1414
use std::{sync::Arc, time::Instant};
1515

0 commit comments

Comments
 (0)