Switch from 2015 edition to 2018

1.34 is safe for that.
This commit is contained in:
Chris Morgan 2022-01-25 19:41:10 +11:00
parent e245a23bab
commit 39168419e8
2 changed files with 2 additions and 1 deletions

View file

@ -2,6 +2,7 @@
name = "anymap"
version = "0.12.1"
authors = ["Chris Morgan <rust@chrismorgan.info>"]
edition = "2018"
rust-version = "1.34"
description = "A safe and convenient store for one value of each type"
repository = "https://github.com/chris-morgan/anymap"

View file

@ -12,7 +12,7 @@ use std::hash::{Hasher, BuildHasherDefault};
use std::mem;
use std::ops::{Index, IndexMut};
use any::UncheckedAnyExt;
use crate::any::UncheckedAnyExt;
#[derive(Default)]
struct TypeIdHasher {