about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src/errors.rs
diff options
context:
space:
mode:
authorJohnTheCoolingFan <ivan8215145640@gmail.com>2023-12-20 12:13:34 +0300
committerJohnTheCoolingFan <ivan8215145640@gmail.com>2023-12-20 12:13:34 +0300
commit0453d5fe6f1ee2ae321efb84ab995181bde118c2 (patch)
treeb0f3e1528b390a7093744d9d4c4c5ed945567d0f /compiler/rustc_pattern_analysis/src/errors.rs
parent3a539c08891a422d34beb32d2556a08ea0357b7d (diff)
downloadrust-0453d5fe6f1ee2ae321efb84ab995181bde118c2.tar.gz
rust-0453d5fe6f1ee2ae321efb84ab995181bde118c2.zip
Cleaned 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