From 8df5e38fc189e6d7403ee569822f4c9010975cfa Mon Sep 17 00:00:00 2001 From: David Meister Date: Mon, 21 Sep 2026 11:22:56 +0000 Subject: [PATCH] docs: scope the no-named-returns rule to implementations `ICloneableV2.initialize` declares `returns (bytes32 success)`. Every `returns` with a body behind it is unnamed, so the rule holds for implementations and it is the declaration case it never scoped. Co-Authored-By: Claude Opus 5 (1M context) --- CLAUDE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index 0254931..b39b913 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -60,7 +60,7 @@ makes this half a standalone publish. - Versions: interfaces float `^0.8.18` so downstream soldeer consumers on a different `0.8.x` still compile them; the library floats `^0.8.25`; tests pin `=0.8.25`, as do the concretes and scripts in rain.factory.deploy. -- No named return values. +- No named return values in implementations. - Compiler (`foundry.toml`): Cancun EVM, optimizer at 100,000 runs, no CBOR metadata (`cbor_metadata = false`, `bytecode_hash = "none"`). - Dependencies are managed with Soldeer (`[dependencies]` in `foundry.toml` +