Skip to content

Commit cb2afc8

Browse files
estcarisimoLPardue
authored andcommitted
removing mut
1 parent 86449f1 commit cb2afc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

qlog/src/testing/event_tests.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ fn packet_header() {
173173
#[test]
174174
fn metrics_updated_with_ex_data() {
175175
// Test that ex_data fields are flattened into the same object
176-
let mut ex_data = ExData::from([(
176+
let ex_data = ExData::from([(
177177
"delivery_rate".to_string(),
178178
serde_json::json!(DELIVERY_RATE),
179179
)]);
@@ -202,7 +202,7 @@ fn metrics_updated_ex_data_collision() {
202202
// With serde's preserve_order feature and ex_data at the top of the
203203
// struct, standard fields are serialized last and take precedence.
204204

205-
let mut ex_data = ExData::from([(
205+
let ex_data = ExData::from([(
206206
"min_rtt".to_string(),
207207
serde_json::json!(COLLISION_VALUE),
208208
)]);

0 commit comments

Comments
 (0)