Chris Morgan
›
Git
›
anymap
› commitdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
patch
|
inline
| side by side (parent:
e245a23
)
commit
grep
author
committer
pickaxe
?
search:
re
Switch from 2015 edition to 2018
author
Chris Morgan
<me@chrismorgan.info>
Tue, 25 Jan 2022 08:41:10 +0000
committer
Chris Morgan
<me@chrismorgan.info>
Tue, 25 Jan 2022 13:16:15 +0000
1.34 is safe for that.
Cargo.toml
patch
|
blob
|
history
src/raw.rs
patch
|
blob
|
history
diff --git
a/Cargo.toml
b/Cargo.toml
index 5149e8f66509168f1cb33156da7b325a4d771101..c1ca92c2396c086acaad40e969a7ca2ca4fb6faa 100644
(file)
--- a/
Cargo.toml
+++ b/
Cargo.toml
@@
-2,6
+2,7
@@
name = "anymap"
version = "0.12.1"
authors = ["Chris Morgan <rust@chrismorgan.info>"]
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"
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 5720086660475c7e687ae14da15ef1e722544866..e6e989f7e6b7d89779bc8a144d5b30f7ee24167c 100644
(file)
--- 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 std::mem;
use std::ops::{Index, IndexMut};
-use any::UncheckedAnyExt;
+use
crate::
any::UncheckedAnyExt;
#[derive(Default)]
struct TypeIdHasher {
#[derive(Default)]
struct TypeIdHasher {