indexmap-rs/indexmap

IndexMap doesn't implement `Debug`

Closed this issue · 4 comments

I have:

let mut test: IndexMap<&str, &str> = IndexMap::new();
test.insert("index1", "value1");
println!("{:?}", test);

test doesn't implement Debug

There must be more to your problem, because this works fine in the playground:
https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=6bcc805aa3a14b8bb6a2b689288bd829

If the IDE is inconsistent, you should ask JetBrains.

For instance, see also #148 and intellij-rust/intellij-rust#4631.

bluss commented

Duplicates #148