Skip to content

Commit

Permalink
Fix issues in libtest
Browse files Browse the repository at this point in the history
  • Loading branch information
aochagavia committed Jun 30, 2014
1 parent 2f16d9e commit 903759e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libtest/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,7 @@ fn calc_result(desc: &TestDesc, task_succeeded: bool) -> TestResult {

impl ToJson for Metric {
fn to_json(&self) -> json::Json {
let mut map = box TreeMap::new();
let mut map = TreeMap::new();
map.insert("value".to_string(), json::Number(self.value));
map.insert("noise".to_string(), json::Number(self.noise));
json::Object(map)
Expand Down

0 comments on commit 903759e

Please sign in to comment.