Commit stray Rust change that keeps popping up (rust/src/canonical_json.rs) (#19763)

(introduced in https://github.com/element-hq/synapse/pull/19739)

Seems like some automatic change from `poetry run ./scripts-dev/lint.sh`
This commit is contained in:
Eric Eastwood
2026-05-08 06:20:25 -05:00
committed by GitHub
parent 4911296fb5
commit 8dbbc4000b
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -0,0 +1 @@
Lint and format `rust/src/canonical_json.rs`.
+1 -1
View File
@@ -824,7 +824,7 @@ mod tests {
// Serialize the keys in the reverse order.
for (c, _) in ascii_order.iter().rev() {
map_serializer.serialize_entry(c.into(), &1).unwrap();
map_serializer.serialize_entry(c, &1).unwrap();
}
SerializeMap::end(map_serializer).unwrap();