Skip to content

Commit 903759e

Browse files
committed
Fix issues in libtest
1 parent 2f16d9e commit 903759e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libtest/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1104,7 +1104,7 @@ fn calc_result(desc: &TestDesc, task_succeeded: bool) -> TestResult {
11041104

11051105
impl ToJson for Metric {
11061106
fn to_json(&self) -> json::Json {
1107-
let mut map = box TreeMap::new();
1107+
let mut map = TreeMap::new();
11081108
map.insert("value".to_string(), json::Number(self.value));
11091109
map.insert("noise".to_string(), json::Number(self.noise));
11101110
json::Object(map)

0 commit comments

Comments
 (0)