Skip to content

Commit

Permalink
Auto merge of #15484 - rmehri01:14779_bool_to_enum_assist, r=Veykril
Browse files Browse the repository at this point in the history
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 #14779
  • Loading branch information
bors committed Sep 22, 2023
2 parents 2ededa2 + 93562dd commit df75809
Show file tree
Hide file tree
Showing 4 changed files with 1,572 additions and 0 deletions.

0 comments on commit df75809

Please sign in to comment.