diff options
| author | Adolfo OchagavĂa <aochagavia92@gmail.com> | 2014-06-28 16:37:28 +0200 |
|---|---|---|
| committer | Adolfo OchagavĂa <aochagavia92@gmail.com> | 2014-06-30 21:35:48 +0200 |
| commit | 903759e611d0ad9bd7e0710fb68d03b431f0b33a (patch) | |
| tree | ebf9f6591323da053ea52b685687c43f9b4fa8d1 /src/libtest | |
| parent | 2f16d9ef0044ec6197ef1876dfb960ced2882064 (diff) | |
| download | rust-903759e611d0ad9bd7e0710fb68d03b431f0b33a.tar.gz rust-903759e611d0ad9bd7e0710fb68d03b431f0b33a.zip | |
Fix issues in libtest
Diffstat (limited to 'src/libtest')
| -rw-r--r-- | src/libtest/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libtest/lib.rs b/src/libtest/lib.rs index 26c9aaed568..ec31ffc93f3 100644 --- a/src/libtest/lib.rs +++ b/src/libtest/lib.rs @@ -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) |
