mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 01:05:39 +03:00
4a78c00e22
Refactor examples and enhance documentation in result.rs - Replaced `map` with `map_err` in the error handling example for correctness - Reordered example code to improve readability and logical flow - Added assertions to examples to demonstrate expected outcomes