Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit df75809

Browse files
committed
Auto merge of rust-lang#15484 - rmehri01:14779_bool_to_enum_assist, r=Veykril
feat: Bool to enum assist This adds the `bool_to_enum` assist, which converts the type of boolean local variables, fields, constants and statics to a new `enum` type, making it easier to distinguish the meaning of `true` and `false` by renaming the variants. Closes rust-lang#14779
2 parents 2ededa2 + 93562dd commit df75809

File tree

4 files changed

+1572
-0
lines changed

4 files changed

+1572
-0
lines changed

0 commit comments

Comments
 (0)