This commit is contained in:
ntr 2018-09-12 17:32:40 +10:00
parent a48d7bcc68
commit c6cc6e5ddc

View File

@ -185,10 +185,8 @@ pub fn generate(params: GenerateParams) -> Vec<u8> {
.learn(Skill::Stoney)
.create();
match to_vec(&level_two) {
Ok(v) => v,
Err(e) => panic!("couldn't serialize cryp"),
}
to_vec(&level_two)
.expect("couldn't serialize cryp")
}