@@ 127,3 127,7 @@ These are things from the book I want to have in a document to quickly find agai
- The `assert!` macro evaluates a boolean value and panics if it’s `false`.
- All the `assert!` macros also take optional parameters to print custom error messages.
- Adding `#[should_panic]` after ´#[test]` can be used to check if the error handling works correct.
# Chapter 12
- Per convention, programs should be split into a `main.rs` and a `lib.rs`, where the latter contains all the logic, and the main handles running the program.