docs: update README with smell files
This commit is contained in:
@@ -25,7 +25,7 @@ library implementation) at commit
|
|||||||
| [module-organization.md](patterns/module-organization.md) | 10 | 514 | File structure, pub use, prelude, workspaces |
|
| [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 |
|
| [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/)
|
## Discovery Data (from library/)
|
||||||
|
|
||||||
@@ -54,6 +54,13 @@ library implementation) at commit
|
|||||||
| Macros | macro_rules! | 607 |
|
| Macros | macro_rules! | 607 |
|
||||||
| Macros | #[derive(...)] | 1,116 |
|
| 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<Mutex> everywhere, collect then iterate, index loops, OOP thinking |
|
||||||
|
|
||||||
## Each Pattern Includes
|
## Each Pattern Includes
|
||||||
|
|
||||||
- **Source hyperlink** — permalink to the exact source location
|
- **Source hyperlink** — permalink to the exact source location
|
||||||
|
|||||||
Reference in New Issue
Block a user