Support for new error handling.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2023-04-15 14:34:42 +02:00
parent 3058739ea0
commit feffb5f030
36 changed files with 466 additions and 274 deletions

View File

@@ -65,7 +65,7 @@ pub fn load_library() -> LoadResult {
let species_load_time = t2 - t1;
let data = StaticDataImpl::new(
Box::new(LibrarySettingsImpl::new(100, 100)),
Box::new(LibrarySettingsImpl::new(100, 100).unwrap()),
species,
moves,
items,

View File

@@ -79,6 +79,6 @@ impl TestPokemon {
builder = builder.learn_move(StringKey::new(move_name));
}
builder.build()
builder.build().unwrap()
}
}