Skip to main content

max / makenotwork

Clear the two clippy warnings the server had left `useless_conversion` on a `&'static str` fixture field and a `redundant_closure` around `Cow::into_owned`. Both pre-existing; the crate now has no clippy warnings of its own.
Co-Authored-By
Claude Opus 5 (1M context) <noreply@anthropic.com>
Author: Max Johnson <me@maxj.phd> · 2026-08-22 03:51 UTC
Signed with PGP, not checked
Commit: 53a4ee7c5c6f0f14953b8f19d446c7727b251b52
Parent: fc73366
2 files changed, +2 insertions, -2 deletions
@@ -1346,7 +1346,7 @@
1346 1346 title: "Release notes".into(),
1347 1347 slug: "release-notes".into(),
1348 1348 status: "Published".into(),
1349 - status_tone: "success".into(),
1349 + status_tone: "success",
1350 1350 published_at: "Aug 12, 2026".into(),
1351 1351 }];
1352 1352
@@ -755,7 +755,7 @@
755 755 .get("HX-Prompt")
756 756 .and_then(|v| v.to_str().ok())
757 757 .unwrap_or_default();
758 - urlencoding::decode(raw).map_or_else(|_| raw.to_string(), |decoded| decoded.into_owned())
758 + urlencoding::decode(raw).map_or_else(|_| raw.to_string(), std::borrow::Cow::into_owned)
759 759 }
760 760
761 761 // --- Public health endpoint (for PoM) ---