clippy
This commit is contained in:
parent
9f6be9b669
commit
f18fedd5cc
@ -1,10 +1,10 @@
|
||||
use crate::{
|
||||
agent::Agent,
|
||||
board::{Board, BOARD_SIZE},
|
||||
misc::{offsets, split_from},
|
||||
misc::offsets,
|
||||
piece::Piece,
|
||||
};
|
||||
use rand::{seq::IteratorRandom, Rng};
|
||||
use rand::seq::IteratorRandom;
|
||||
|
||||
pub struct ComplexAgent {
|
||||
color: Piece,
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
use agent::QueueAgent;
|
||||
use complexagent::ComplexAgent;
|
||||
use game::Game;
|
||||
use piece::Piece;
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
use std::{iter::Rev, ops::RangeInclusive};
|
||||
|
||||
use num::CheckedSub;
|
||||
|
||||
pub fn split_from<T>(min: T, max: T, x: T) -> Vec<Vec<T>>
|
||||
where
|
||||
T: num::Integer + Copy,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user