remove warnings

This commit is contained in:
ntr
2020-01-03 15:46:38 +10:00
parent 6232755d47
commit 9f97319c2d
11 changed files with 30 additions and 61 deletions
+1 -1
View File
@@ -11,7 +11,6 @@ use chrono::prelude::*;
use chrono::Duration;
use player::{Player, Score};
use mob::{bot_player, instance_mobs};
use game::{Game};
use item::{Item};
use vbox;
@@ -504,6 +503,7 @@ impl Instance {
#[cfg(test)]
mod tests {
use super::*;
use mob::{bot_player, instance_mobs};
#[test]
fn instance_pve_test() {
+1 -2
View File
@@ -9,8 +9,6 @@ use rand::distributions::{WeightedIndex};
use failure::Error;
use failure::err_msg;
use construct::{Colours};
use item::*;
pub type VboxIndices = Option<HashMap<ItemType, Vec<String>>>;
@@ -217,6 +215,7 @@ impl Vbox {
#[cfg(test)]
mod tests {
use super::*;
use construct::{Colours};
#[test]
fn combine_test() {