We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f16d9e commit 903759eCopy full SHA for 903759e
src/libtest/lib.rs
@@ -1104,7 +1104,7 @@ fn calc_result(desc: &TestDesc, task_succeeded: bool) -> TestResult {
1104
1105
impl ToJson for Metric {
1106
fn to_json(&self) -> json::Json {
1107
- let mut map = box TreeMap::new();
+ let mut map = TreeMap::new();
1108
map.insert("value".to_string(), json::Number(self.value));
1109
map.insert("noise".to_string(), json::Number(self.noise));
1110
json::Object(map)
0 commit comments