about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-12-30 11:42:02 +0100
committerGitHub <noreply@github.com>2023-12-30 11:42:02 +0100
commitc67ab2e0b4e38aa8e349da0ec06e4c606ba0a5de (patch)
treeb3cb9c22765986813d0eef16f85e262cb0755eca /compiler/rustc_pattern_analysis/src/errors.rs
parentddca5343f2988f49fa407dc1ff43bcf779ea4173 (diff)
parent0453d5fe6f1ee2ae321efb84ab995181bde118c2 (diff)
downloadrust-c67ab2e0b4e38aa8e349da0ec06e4c606ba0a5de.tar.gz
rust-c67ab2e0b4e38aa8e349da0ec06e4c606ba0a5de.zip
Rollup merge of #119158 - JohnTheCoolingFan:arc-weak-clone-pretty, r=cuviper
Clean up alloc::sync::Weak Clone implementation

Since both return points (tail and early return) return the same expression and the only difference is whether inner is available, the code that does the atomic operations and checks on inner was moved into the if body and the only return is at the tail. Original comments preserved.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/errors.rs')
0 files changed, 0 insertions, 0 deletions