refact: fix clippy warnings
This commit is contained in:
parent
25acc86059
commit
37cc50ed2a
8 changed files with 140 additions and 137 deletions
|
|
@ -100,10 +100,6 @@ impl Default for Bot {
|
|||
|
||||
impl Bot {
|
||||
/// new initialize a bot
|
||||
/// # Examples
|
||||
/// ```let mut bot = Bot::new(Color::Black);
|
||||
/// assert_eq!(bot.game.stage, Stage::PreGame);
|
||||
/// ```
|
||||
// pub fn new(mut strategy: Box<dyn BotStrategy>, color: Color, schools_enabled: bool) -> Self {
|
||||
pub fn new(mut strategy: Box<dyn BotStrategy>, color: Color) -> Self {
|
||||
// let game = strategy.get_mut_game();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue