Fix other clippy warnings.

This commit is contained in:
2019-08-22 12:32:07 +02:00
parent 29b5dcdf62
commit 82dfff21e9
10 changed files with 31 additions and 37 deletions

View File

@@ -31,7 +31,7 @@ pub mod day23;
pub mod day24;
pub mod day25;
pub fn get_impl(day: u32) -> Box<common::Solution> {
pub fn get_impl(day: u32) -> Box<dyn common::Solution> {
match day {
1 => Box::new(day01::Day01::new()),
2 => Box::new(day02::Day02::new()),