From 2cd702818e652d0668734d18e8daff5ebf7d980f Mon Sep 17 00:00:00 2001 From: jutty Date: Fri, 12 Dec 2025 00:47:13 -0300 Subject: [PATCH] Minor: Add Bacon to acknowledgments, invert a lint, update notes --- Cargo.toml | 2 +- docs/notes.md | 8 ++++++++ templates/acknowledgments.html | 1 + 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index ad3ce5c..11c7582 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -185,7 +185,7 @@ renamed_function_params = "warn" rest_pat_in_fully_bound_structs = "warn" return_and_then = "warn" same_name_method = "warn" -semicolon_inside_block = "warn" +semicolon_outside_block = "warn" shadow_reuse = "warn" shadow_same = "warn" shadow_unrelated = "warn" diff --git a/docs/notes.md b/docs/notes.md index d27acc4..c1515e5 100644 --- a/docs/notes.md +++ b/docs/notes.md @@ -20,3 +20,11 @@ See also: - - `clippy::iter_over_hash_type` + +## Overall guidelines + +- Take refs, return owned +- Avoid opacity + - Third-party macros + - Procedural macro attributes + - Returning opaque types, like `impl Trait` diff --git a/templates/acknowledgments.html b/templates/acknowledgments.html index 098e895..1a1e218 100644 --- a/templates/acknowledgments.html +++ b/templates/acknowledgments.html @@ -14,6 +14,7 @@
  • Tera
  • Serde and the toml crate
  • +
  • Bacon
  • {%- endblock body %}