Switch from 2015 edition to 2018
1.34 is safe for that.
This commit is contained in:
parent
e245a23bab
commit
39168419e8
|
@ -2,6 +2,7 @@
|
||||||
name = "anymap"
|
name = "anymap"
|
||||||
version = "0.12.1"
|
version = "0.12.1"
|
||||||
authors = ["Chris Morgan <rust@chrismorgan.info>"]
|
authors = ["Chris Morgan <rust@chrismorgan.info>"]
|
||||||
|
edition = "2018"
|
||||||
rust-version = "1.34"
|
rust-version = "1.34"
|
||||||
description = "A safe and convenient store for one value of each type"
|
description = "A safe and convenient store for one value of each type"
|
||||||
repository = "https://github.com/chris-morgan/anymap"
|
repository = "https://github.com/chris-morgan/anymap"
|
||||||
|
|
|
@ -12,7 +12,7 @@ use std::hash::{Hasher, BuildHasherDefault};
|
||||||
use std::mem;
|
use std::mem;
|
||||||
use std::ops::{Index, IndexMut};
|
use std::ops::{Index, IndexMut};
|
||||||
|
|
||||||
use any::UncheckedAnyExt;
|
use crate::any::UncheckedAnyExt;
|
||||||
|
|
||||||
#[derive(Default)]
|
#[derive(Default)]
|
||||||
struct TypeIdHasher {
|
struct TypeIdHasher {
|
||||||
|
|
Loading…
Reference in a new issue