Commit b67635f
committed
Remove one use of
A direct comparison has the same effect. This also avoids the need for a
type test within `compare_const_vals`.compare_const_vals.1 parent 9b4b34a commit b67635f
File tree
2 files changed
+2
-15
lines changed- compiler/rustc_mir_build/src/thir/pattern
2 files changed
+2
-15
lines changedLines changed: 1 addition & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
848 | 848 | | |
849 | 849 | | |
850 | 850 | | |
851 | | - | |
852 | | - | |
853 | | - | |
854 | | - | |
855 | | - | |
856 | | - | |
857 | | - | |
858 | | - | |
859 | | - | |
860 | | - | |
| 851 | + | |
861 | 852 | | |
862 | 853 | | |
863 | 854 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
755 | 755 | | |
756 | 756 | | |
757 | 757 | | |
| 758 | + | |
758 | 759 | | |
759 | 760 | | |
760 | 761 | | |
761 | 762 | | |
762 | 763 | | |
763 | | - | |
764 | | - | |
765 | | - | |
766 | | - | |
767 | | - | |
768 | 764 | | |
769 | 765 | | |
770 | 766 | | |
| |||
0 commit comments