diff --git a/src/lib.rs b/src/lib.rs index 87ed35d..86e7a2c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -39,14 +39,6 @@ pub trait Fighter { fn power (&self) -> u8; } -pub fn parse_weapons (weapons: &str) -> Vec { - if weapons == "None" { - return vec![]; - } - - weapons.split(", ").into_iter().map(String::from).collect() -} - pub struct Parser { fighter_type: &'static str, document: Document