rodin-bot
|
a79249bbff
|
fix: correct drifted citations at commit f53b654
- traits.md: iterator.rs anchor L76→L42 (pub const trait Iterator)
- traits.md: deref.rs anchor L60→L139 (pub const trait Deref)
- error-handling.md: fix variant names CliError::Io→IoError, Parse→ParseError
to match actual stdlib doc example at convert/mod.rs:557
- concurrency.md: mutex.rs and rwlock.rs moved to sync/poison/ subtree
(3 link updates: mutex×2, rwlock×1)
|
2026-05-06 17:22:48 -07:00 |
|
Rodin
|
e58614de2e
|
docs: error handling patterns from rust-lang/rust
10 patterns, 702 lines. Full new-spec compliance:
- Source hyperlinks (commit SHA permalinks)
- Before/after code transformation pairs
- Over-application examples with alternatives
- Anti-patterns with DON'T/DO blocks
- Decision tree at end
- Cross-references
Patterns: Result, ? operator, error enums, From impls, Error trait,
type aliases, panic!, map_err, #[must_use], unwrap/expect.
|
2026-04-30 14:53:12 -07:00 |
|