extra: add explicit ratchet-noise-percent option to benchmark ratchet, plus a few test breaking fixes.
This commit is contained in:
parent
83fb3d224a
commit
bbdbd3c69d
3 changed files with 57 additions and 30 deletions
|
@ -1331,7 +1331,7 @@ impl<A:ToJson> ToJson for ~[A] {
|
|||
fn to_json(&self) -> Json { List(self.map(|elt| elt.to_json())) }
|
||||
}
|
||||
|
||||
impl<A:ToJson + Copy> ToJson for HashMap<~str, A> {
|
||||
impl<A:ToJson> ToJson for HashMap<~str, A> {
|
||||
fn to_json(&self) -> Json {
|
||||
let mut d = HashMap::new();
|
||||
for self.iter().advance |(key, value)| {
|
||||
|
@ -1341,7 +1341,7 @@ impl<A:ToJson + Copy> ToJson for HashMap<~str, A> {
|
|||
}
|
||||
}
|
||||
|
||||
impl<A:ToJson + Copy> ToJson for TreeMap<~str, A> {
|
||||
impl<A:ToJson> ToJson for TreeMap<~str, A> {
|
||||
fn to_json(&self) -> Json {
|
||||
let mut d = HashMap::new();
|
||||
for self.iter().advance |(key, value)| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue