mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Upgrade remaining components to edition 2018
This commit is contained in:
parent
fd79367491
commit
9c2cc05a8e
48 changed files with 102 additions and 160 deletions
|
@ -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"
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -1577,7 +1577,7 @@ mod test_set {
|
|||
|
||||
#[test]
|
||||
fn test_replace() {
|
||||
use hash;
|
||||
use std::hash;
|
||||
|
||||
#[derive(Debug)]
|
||||
struct Foo(&'static str, i32);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue