diff --git a/README.md b/README.md index 258ddfc..99eb950 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ library implementation) at commit | [module-organization.md](patterns/module-organization.md) | 10 | 514 | File structure, pub use, prelude, workspaces | | [macros.md](patterns/macros.md) | 10 | 519 | macro_rules!, derive, attribute macros, hygiene | -**Total: 100 patterns across 10 files, 6,441 lines.** +**Total: 100 patterns across 10 files + 20 smells across 2 files = 7,439 lines.** ## Discovery Data (from library/) @@ -54,6 +54,13 @@ library implementation) at commit | Macros | macro_rules! | 607 | | Macros | #[derive(...)] | 1,116 | +## Smell Files + +| File | Entries | Lines | Key Topics | +|------|---------|-------|------------| +| [smells/anti-patterns.md](smells/anti-patterns.md) | 10 | 490 | unwrap in libs, String errors, unsafe without SAFETY, clone escape | +| [smells/common-mistakes.md](smells/common-mistakes.md) | 10 | 508 | Arc everywhere, collect then iterate, index loops, OOP thinking | + ## Each Pattern Includes - **Source hyperlink** — permalink to the exact source location