about summary refs log tree commit diff
path: root/compiler/rustc_privacy/src/lib.rs
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2025-09-25 07:43:25 -0700
committerJosh Triplett <josh@joshtriplett.org>2025-09-25 07:54:28 -0700
commit9e3f7487e9e572aee95381688bda52525d79b005 (patch)
treebe3404610097b89eed76a5e8c75b515c5271a7f6 /compiler/rustc_privacy/src/lib.rs
parent7cfd7d328b14b936c7ffede92cacebe8557c6388 (diff)
downloadrust-9e3f7487e9e572aee95381688bda52525d79b005.tar.gz
rust-9e3f7487e9e572aee95381688bda52525d79b005.zip
mbe: Simplify check_redundant_vis_repetition
Eliminate a use of `map_or` in favor of a match.

Inline some variable definitions that don't add clarity, and that
prevent short-circuiting.
Diffstat (limited to 'compiler/rustc_privacy/src/lib.rs')
0 files changed, 0 insertions, 0 deletions