clippy fix
This commit is contained in:
parent
8fa8282177
commit
61e5f26bd7
@ -11,11 +11,7 @@
|
||||
// For more info see docs.battlesnake.com
|
||||
|
||||
use core::f64;
|
||||
use std::{
|
||||
cmp::Ordering,
|
||||
collections::{BTreeMap, BTreeSet},
|
||||
time::Instant,
|
||||
};
|
||||
use std::collections::BTreeMap;
|
||||
|
||||
use log::info;
|
||||
use ordered_float::OrderedFloat;
|
||||
|
@ -17,7 +17,7 @@ pub struct SnakeToken {
|
||||
}
|
||||
|
||||
impl SnakeToken {
|
||||
pub fn from_board(board: &crate::Board) -> BTreeMap<String, SnakeToken> {
|
||||
pub fn from_board(board: &crate::Board) -> BTreeMap<String, Self> {
|
||||
board
|
||||
.snakes
|
||||
.iter()
|
||||
|
Loading…
Reference in New Issue
Block a user