Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix country code serialization (#11947)
Conrad Irwin23315d214c49
diff --git a/crates/collab/src/api/events.rs b/crates/collab/src/api/events.rsindex 4539e13c89c..8c269f54972 100644--- a/crates/collab/src/api/events.rs+++ b/crates/collab/src/api/events.rs@@ -645,7 +645,7 @@ wherelet country_code = country_code.as_bytes();- serializer.serialize_u16(((country_code[0] as u16) << 8) + country_code[1] as u16)+ serializer.serialize_u16(((country_code[1] as u16) << 8) + country_code[0] as u16)}#[derive(Serialize, Debug, clickhouse::Row)]