Skip to content

Commit a80dab7

Browse files
committed
test(cost): avoid needless borrowing in shared resource fixture
1 parent bce9179 commit a80dab7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎crates/types/src/resources.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ mod tests {
124124
serialized_bytes: Some(40),
125125
disk_bytes: Some(4096),
126126
};
127-
let json = serde_json::to_value(&resources).unwrap();
127+
let json = serde_json::to_value(resources).unwrap();
128128
let decoded: PhysicalResources<Option<f64>, u64> = serde_json::from_value(json).unwrap();
129129
assert_eq!(decoded, resources);
130130
}

0 commit comments

Comments
 (0)