mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-05 09:23:31 +00:00
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.