Rollup merge of #22157 - tbu-:pr_debug_collections, r=alexcrichton
r? @Gankro
This commit is contained in:
commit
c950ee93c9
10 changed files with 29 additions and 29 deletions
|
|
@ -24,6 +24,6 @@ pub fn main() {
|
|||
let mut table = HashMap::new();
|
||||
table.insert("one".to_string(), 1);
|
||||
table.insert("two".to_string(), 2);
|
||||
assert!(check_strs(&format!("{:?}", table), "HashMap {\"one\": 1, \"two\": 2}") ||
|
||||
check_strs(&format!("{:?}", table), "HashMap {\"two\": 2, \"one\": 1}"));
|
||||
assert!(check_strs(&format!("{:?}", table), "{\"one\": 1, \"two\": 2}") ||
|
||||
check_strs(&format!("{:?}", table), "{\"two\": 2, \"one\": 1}"));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue