chore: use Default::default instead of Type::Default

This commit is contained in:
2021-04-13 23:02:13 -05:00
parent e9f129dbee
commit cbd085c25b
2 changed files with 4 additions and 4 deletions

View File

@@ -387,7 +387,7 @@ impl std::clone::Clone for Box<dyn MemoryBankController> {
}
}
impl std::default::Default for Box<dyn MemoryBankController> {
impl Default for Box<dyn MemoryBankController> {
fn default() -> Self {
Box::new(Mbc1::default())
}