Upgrade remaining components to edition 2018

This commit is contained in:
sagudev 2023-02-18 09:42:37 +01:00
parent fd79367491
commit 9c2cc05a8e
48 changed files with 102 additions and 160 deletions

View file

@ -7,6 +7,7 @@ description = "Fork of std::HashMap with stable fallible allocation."
documentation = "https://docs.rs/hashglobe"
repository = "https://github.com/Manishearth/hashglobe"
readme = "README.md"
edition = "2018"
[dependencies]
libc = "0.2"

View file

@ -2218,7 +2218,7 @@ mod test_map {
use super::Entry::{Occupied, Vacant};
use super::HashMap;
use super::RandomState;
use cell::RefCell;
use std::cell::RefCell;
#[test]
fn test_zero_capacities() {

View file

@ -1577,7 +1577,7 @@ mod test_set {
#[test]
fn test_replace() {
use hash;
use std::hash;
#[derive(Debug)]
struct Foo(&'static str, i32);