clippy
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
jake 2023-11-11 19:05:12 -07:00
parent af629695a5
commit 7b26fdc28d
3 changed files with 3 additions and 2 deletions

View File

@ -139,6 +139,7 @@ pub struct StandardDropTable {
}
impl StandardDropTable {
#[allow(clippy::new_ret_no_self)]
pub fn new(episode: Episode, difficulty: Difficulty, section_id: SectionID) -> Box<dyn DropTable + Send + Sync> {
let monster_stats: HashMap<String, MonsterDropStats> = load_data_file(episode, difficulty, section_id, "monster_dar.toml");

View File

@ -13,7 +13,7 @@ use entity::account::{NewUserAccountEntity, NewUserSettingsEntity};
use entity::character::NewCharacterEntity;
use entity::item::{NewItemEntity, ItemDetail, InventoryItemEntity};
use entity::item;
use drops::{DropTable, StandardDropTable};
use drops::StandardDropTable;
fn setup_logger() {
let colors = fern::colors::ColoredLevelConfig::new()

View File

@ -2,7 +2,7 @@ use log::info;
use entity::gateway::postgres::PostgresGateway;
use elseware::ship::ship::ShipServerStateBuilder;
use networking::interserver::AuthToken;
use drops::{DropTable, StandardDropTable};
use drops::StandardDropTable;
fn main() {
let colors = fern::colors::ColoredLevelConfig::new()