From: Chris Morgan Date: Tue, 25 Jan 2022 08:41:10 +0000 (+1100) Subject: Switch from 2015 edition to 2018 X-Git-Tag: 1.0.0-beta.1~9 X-Git-Url: https://git.chrismorgan.info/anymap/commitdiff_plain/39168419e8a4b1dc2711d9447a4e8c9573edce08 Switch from 2015 edition to 2018 1.34 is safe for that. --- diff --git a/Cargo.toml b/Cargo.toml index 5149e8f..c1ca92c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,6 +2,7 @@ name = "anymap" version = "0.12.1" authors = ["Chris Morgan "] +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" diff --git a/src/raw.rs b/src/raw.rs index 5720086..e6e989f 100644 --- a/src/raw.rs +++ b/src/raw.rs @@ -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 {