bump hashbrown, fix warnings

This commit is contained in:
TheOddGarlic 2022-08-02 12:40:48 +03:00
parent 838f166e91
commit 4379150168
2 changed files with 3 additions and 1 deletions

View file

@ -22,7 +22,7 @@ members = ['test-suite']
[dependencies]
serde = { version = "1.0.97", default-features = false, features = ["alloc"] }
indexmap = { version = "1.0", optional = true }
hashbrown = { version = "0.7.2" }
hashbrown = { version = "0.12.3" }
[dev-dependencies]
serde_derive = "1.0"

View file

@ -298,6 +298,7 @@ fn floats() {
}
#[test]
#[allow(unused_must_use)]
fn bare_key_names() {
let a = "
foo = 3
@ -412,6 +413,7 @@ fn bad_table_names() {
}
#[test]
#[allow(unused_must_use)]
fn table_names() {
let a = "
[a.\"b\"]