mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 19:27:30 +03:00
1870b3bac6
remove redundant option/result wrapping of return values If a function always returns `Ok(something)`, we can return `something` directly and remove the corresponding error handling in the callers. clippy::unnecessary_wraps
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.