diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2021-02-22 18:26:10 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-22 18:26:10 +0900 |
| commit | 1870b3bac6f8144316f82d763230c7ad8432c0d0 (patch) | |
| tree | cbd471a71bfdd30bd421af674429cc75525675d5 /compiler/rustc_codegen_llvm/src/back/write.rs | |
| parent | 4dfe69a6e6cc796154d6eb3e07e7fba18f29168e (diff) | |
| parent | da9a588d4fda02c2fe6d52db651ec4c83b2b3e49 (diff) | |
| download | rust-1870b3bac6f8144316f82d763230c7ad8432c0d0.tar.gz rust-1870b3bac6f8144316f82d763230c7ad8432c0d0.zip | |
Rollup merge of #82367 - matthiaskrgr:wraps, r=petrochenkov
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
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/back/write.rs')
0 files changed, 0 insertions, 0 deletions
