diff --git a/rust-runtime/aws-smithy-protocol-test/src/lib.rs b/rust-runtime/aws-smithy-protocol-test/src/lib.rs index c1d0e8220b0900639a12c4fdd10965a371366a72..ddd6f56dc66c3a3c7476d45b983af5cabbbd4933 100644 --- a/rust-runtime/aws-smithy-protocol-test/src/lib.rs +++ b/rust-runtime/aws-smithy-protocol-test/src/lib.rs @@ -434,7 +434,8 @@ fn cbor_values_equal( })? } - // Convert `ciborium::Map` to sorted `BTreeMap` and then compare the sorted maps. + // Convert `ciborium::Value::Map` to a `HashMap`, and then compare the values of + // each key in `a` with those in `b`. (ciborium::Value::Map(a_map), ciborium::Value::Map(b_map)) => { let a_hashmap = ciborium_map_to_hashmap(a_map)?; let b_hashmap = ciborium_map_to_hashmap(b_map)?;