Merge remote-tracking branch 'origin/master' into 0.11.0-release
Conflicts: src/libstd/lib.rs
This commit is contained in:
@@ -474,7 +474,7 @@ pub enum TestResult {
|
||||
}
|
||||
|
||||
enum OutputLocation<T> {
|
||||
Pretty(Box<term::Terminal<Box<Writer + Send>> + Send>),
|
||||
Pretty(Box<term::Terminal<term::WriterWrapper> + Send>),
|
||||
Raw(T),
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user