fixed fmt warning
All checks were successful
Continuous integration / Check (push) Successful in 47s
Continuous integration / Test Suite (push) Successful in 50s
Continuous integration / Rustfmt (push) Successful in 36s
Continuous integration / build (push) Successful in 47s
/ Check (push) Successful in 49s
/ Test Suite (push) Successful in 50s
/ Rustfmt (push) Successful in 35s
/ Clippy (push) Successful in 48s
/ build (push) Successful in 51s

This commit is contained in:
Luke Else 2024-11-22 11:08:40 +00:00
parent eb7b509f78
commit 564d62ccbd

View File

@ -33,14 +33,14 @@ pub trait Solution: Send + Sync {
// returning it as a: // returning it as a:
///``` ///```
/// OK(Box::new(ans)) /// OK(Box::new(ans))
/// ``` /// ```
fn part1(&self, input: &mut Vec<String>) -> Result<Box<dyn Display>, Box<dyn Error>>; fn part1(&self, input: &mut Vec<String>) -> Result<Box<dyn Display>, Box<dyn Error>>;
// Insert your solution for part two in here, // Insert your solution for part two in here,
// returning it as a: // returning it as a:
///``` ///```
/// OK(Box::new(ans)) /// OK(Box::new(ans))
/// ``` /// ```
fn part2(&self, input: &mut Vec<String>) -> Result<Box<dyn Display>, Box<dyn Error>>; fn part2(&self, input: &mut Vec<String>) -> Result<Box<dyn Display>, Box<dyn Error>>;
// Returns the day that is currently being run // Returns the day that is currently being run