This commit is contained in:
@@ -42,7 +42,7 @@ pub mod tests {
|
||||
let mut lib = AbilityLibrary::new(1);
|
||||
lib.add(
|
||||
&StringKey::new("test_ability"),
|
||||
Box::new(Ability::new(&"test_ability".into(), &"test_ability".into(), Vec::new())),
|
||||
Ability::new(&"test_ability".into(), &"test_ability".into(), Vec::new()),
|
||||
);
|
||||
// Drops borrow as mut
|
||||
|
||||
|
||||
Reference in New Issue
Block a user