diff --git a/README.md b/README.md index a155efa..e3db903 100644 --- a/README.md +++ b/README.md @@ -282,14 +282,10 @@ You can pass the report a tool like [dh-view](https://nnethercote.github.io/dh_v - [itertools](https://crates.io/crates/itertools): Extends iterators with extra methods and adaptors. Frequently useful for aoc puzzles. - [regex](https://crates.io/crates/regex): Official regular expressions implementation for Rust. -A curated list of popular crates can be found on [blessred.rs](https://blessed.rs/crates). +A curated list of popular crates can be found on [blessed.rs](https://blessed.rs/crates). Do you have aoc-specific crate recommendations? [Share them!](https://github.com/fspoettel/advent-of-code-rust/edit/main/README.md) -## Common pitfalls - -- **Integer overflows:** This template uses 32-bit integers by default because it is generally faster - for example when packed in large arrays or structs - than using 64-bit integers everywhere. For some problems, solutions for real input might exceed 32-bit integer space. While this is checked and panics in `debug` mode, integers [wrap](https://doc.rust-lang.org/book/ch03-02-data-types.html#integer-overflow) in `release` mode, leading to wrong output when running your solution. - ## Footnotes [^1]: The session cookie might expire after a while (~1 month) which causes the downloads to fail. To fix this issue, refresh the `.adventofcode.session` file. diff --git a/src/template.txt b/src/template.txt index 11344df..87eac99 100644 --- a/src/template.txt +++ b/src/template.txt @@ -1,10 +1,10 @@ advent_of_code::solution!(%DAY_NUMBER%); -pub fn part_one(input: &str) -> Option { +pub fn part_one(input: &str) -> Option { None } -pub fn part_two(input: &str) -> Option { +pub fn part_two(input: &str) -> Option { None }