rust/book
Samuel Tardieu da6a05977d {expect,unwrap}_used: add options to lint at compilation time
By default, do not lint `.unwrap()` and `.expect(…)` in always const
contexts, as a failure would be detected at compile time anyway.

New options `allow_expect_in_consts` and `allow_unwrap_in_consts`,
defaulting to `true`, can be turned unset to still lint in always const
contexts.
2025-02-11 22:14:52 +01:00
..
src {expect,unwrap}_used: add options to lint at compilation time 2025-02-11 22:14:52 +01:00
book.toml Merge commit '51d49c1ae2' into clippy-subtree-update 2025-01-28 19:33:54 +01:00
README.md Merge commit 'fdb84cbfd2' into clippyup 2022-07-18 09:39:37 +02:00

Clippy Book

This is the source for the Clippy Book. See the book for more information.