about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2021-02-22 18:26:10 +0900
committerGitHub <noreply@github.com>2021-02-22 18:26:10 +0900
commit1870b3bac6f8144316f82d763230c7ad8432c0d0 (patch)
treecbd471a71bfdd30bd421af674429cc75525675d5 /compiler/rustc_codegen_llvm/src
parent4dfe69a6e6cc796154d6eb3e07e7fba18f29168e (diff)
parentda9a588d4fda02c2fe6d52db651ec4c83b2b3e49 (diff)
downloadrust-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')
0 files changed, 0 insertions, 0 deletions