Skip to content

Commit e4fe8fb

Browse files
author
Fahad Zubair
committed
Fix comment
1 parent 0460c87 commit e4fe8fb

File tree

1 file changed

+2
-1
lines changed
  • rust-runtime/aws-smithy-protocol-test/src

1 file changed

+2
-1
lines changed

rust-runtime/aws-smithy-protocol-test/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,8 @@ fn cbor_values_equal(
434434
})?
435435
}
436436

437-
// Convert `ciborium::Map` to sorted `BTreeMap` and then compare the sorted maps.
437+
// Convert `ciborium::Value::Map` to a `HashMap`, and then compare the values of
438+
// each key in `a` with those in `b`.
438439
(ciborium::Value::Map(a_map), ciborium::Value::Map(b_map)) => {
439440
let a_hashmap = ciborium_map_to_hashmap(a_map)?;
440441
let b_hashmap = ciborium_map_to_hashmap(b_map)?;

0 commit comments

Comments
 (0)