remove parse_weapons

This commit is contained in:
Adrian Malacoda 2017-02-19 01:45:53 -06:00
parent 4ff066b8b7
commit b4bceda1c0

View File

@ -39,14 +39,6 @@ pub trait Fighter {
fn power (&self) -> u8; fn power (&self) -> u8;
} }
pub fn parse_weapons (weapons: &str) -> Vec<String> {
if weapons == "None" {
return vec![];
}
weapons.split(", ").into_iter().map(String::from).collect()
}
pub struct Parser { pub struct Parser {
fighter_type: &'static str, fighter_type: &'static str,
document: Document document: Document