# Clippy configuration. Pairs with the restriction lints denied in
# Cargo.toml's `[lints.clippy]` (unwrap_used, expect_used, panic, todo,
# unimplemented, dbg_macro, indexing_slicing, string_slice).
#
# Test code is exempt from the panic-family and indexing restrictions: a test
# asserts by panicking, and `vec[0]` / `s[..n]` on known-shaped fixture data is
# clearer than a `.get()` dance that can never fail. These `allow-*-in-tests`
# knobs relax the matching lints for code clippy classifies as a test — any
# item under a `#[cfg(test)]` module (both the inline `#[cfg(test)] mod tests {}`
# blocks AND the sibling-file `#[cfg(test)] mod tests;` declarations this crate
# uses) and the `tests/` integration binaries. Prod code gets no relief.
= true
= true
= true
= true
= true