Commit df75809
committed
Auto merge of #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 #14779File tree
4 files changed
+1572
-0
lines changed- crates
- ide-assists/src
- handlers
- tests
- syntax/src/ast
4 files changed
+1572
-0
lines changed
0 commit comments