Skip to content

Commit 7b5a235

Browse files
committed
Fix common key ordering
This was exposed by a change to the binary search implementation in Rust 1.82. Close #8
1 parent 9ee6aba commit 7b5a235

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/key.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ pub enum Common {
2323
Item,
2424
Items,
2525
Key,
26-
Msg,
2726
Mode,
27+
Msg,
2828
Name,
2929
Nametype,
3030
Pid,
@@ -52,8 +52,8 @@ const COMMON: &[(&str, Common)] = &[
5252
("item", Common::Item),
5353
("items", Common::Items),
5454
("key", Common::Key),
55-
("msg", Common::Msg),
5655
("mode", Common::Mode),
56+
("msg", Common::Msg),
5757
("name", Common::Name),
5858
("nametype", Common::Nametype),
5959
("pid", Common::Pid),

0 commit comments

Comments
 (0)