refactor: Use Box::default
… as suggested by clippy.
This commit is contained in:
committed by
Jonas Platte
parent
8763a2468c
commit
61e95abaf2
@@ -123,7 +123,7 @@ impl Model {
|
||||
)
|
||||
.is_ok());
|
||||
// mount logger
|
||||
assert!(app.remount(Id::Logger, Box::new(Logger::default()), Vec::default()).is_ok());
|
||||
assert!(app.remount(Id::Logger, Box::<Logger>::default(), Vec::default()).is_ok());
|
||||
|
||||
assert!(app
|
||||
.mount(
|
||||
|
||||
Reference in New Issue
Block a user