From e4fe8fb1fb7a26fee8f9424ab1477aa449c52d39 Mon Sep 17 00:00:00 2001 From: Fahad Zubair Date: Tue, 1 Oct 2024 21:33:58 +0100 Subject: [PATCH] Fix comment --- rust-runtime/aws-smithy-protocol-test/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rust-runtime/aws-smithy-protocol-test/src/lib.rs b/rust-runtime/aws-smithy-protocol-test/src/lib.rs index c1d0e8220..ddd6f56dc 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)?; -- GitLab