refactored day3 to reduce unneeded mem allocations.
ran rustfmt on all files.
This commit is contained in:
parent
6c35a97904
commit
05d08c134b
4 changed files with 15 additions and 32 deletions
|
@ -24,7 +24,6 @@ pub fn parse(input: &str) -> Vec<Strategy> {
|
|||
.collect()
|
||||
}
|
||||
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue