Ensure arrays sort before objects in Record IDs

This commit is contained in:
Tobie Morgan Hitchcock 2022-08-31 14:37:22 +01:00
parent 8907f0aa14
commit 395d8e5b8c

View file

@ -15,8 +15,8 @@ use std::fmt;
pub enum Id { pub enum Id {
Number(i64), Number(i64),
String(String), String(String),
Object(Object),
Array(Array), Array(Array),
Object(Object),
} }
impl From<i64> for Id { impl From<i64> for Id {