Refactoring

Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
main
TuDatTr 2022-12-03 14:21:15 +01:00
parent 2ce2cca430
commit 231e0d2584
3 changed files with 4 additions and 6 deletions

View File

@ -5,3 +5,7 @@ members = [
"day-3_rucksack_reorganization",
]
[profile.release]
lto = true
codegen-units = 1
debug = 1

View File

@ -3,11 +3,6 @@ name = "day-1_calorie_counting"
version = "0.1.0"
edition = "2021"
[profile.release]
lto = true
codegen-units = 1
debug = 1
[lib]
name = "calorie_counting_lib"
path = "src/lib.rs"

View File

@ -55,7 +55,6 @@ pub fn task_3b (content: &str) -> u64 {
#[cfg(test)]
mod tests {
use super::*;
use common::create_file;
const CONTENT: &str = "vJrwpWtwJgWrhcsFMMfFFhFp\njqHRNqRjqzjGDLGLrsFMfFZSrLrFZsSL\nPmmdzqPrVvPwwTWBwg\nwMqvLMZHhHMvwLHjbvcjnnSBnvTQFn\nttgJtRGJQctTZtZT\nCrZsJsPPZsGzwwsLwLmpwMDw";