clippy
This commit is contained in:
parent
af629695a5
commit
b00d92bbc3
@ -139,6 +139,7 @@ pub struct StandardDropTable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl StandardDropTable {
|
impl StandardDropTable {
|
||||||
|
#[warn(clippy::new_ret_no_self)]
|
||||||
pub fn new(episode: Episode, difficulty: Difficulty, section_id: SectionID) -> Box<dyn DropTable + Send + Sync> {
|
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");
|
let monster_stats: HashMap<String, MonsterDropStats> = load_data_file(episode, difficulty, section_id, "monster_dar.toml");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user