| commit | e352c1e140292a75faa7b12b13bc2956f0515a43 | [log] [tgz] |
|---|---|---|
| author | David Tolnay <dtolnay@gmail.com> | Thu Dec 31 16:41:05 2020 -0800 |
| committer | David Tolnay <dtolnay@gmail.com> | Thu Dec 31 17:15:56 2020 -0800 |
| tree | 6cc8c0b887d1ee662641add82a70f2f3e3fbb0f2 | |
| parent | 292cfffe5a3cefc9a60761462206cb526467491f [diff] [blame] |
Add wrapper to prevent iteration of unordered maps
diff --git a/syntax/instantiate.rs b/syntax/instantiate.rs index 2891485..e9c6f29 100644 --- a/syntax/instantiate.rs +++ b/syntax/instantiate.rs
@@ -1,7 +1,7 @@ use crate::syntax::Type; use proc_macro2::Ident; -#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord)] +#[derive(Copy, Clone, PartialEq, Eq, Hash)] pub enum ImplKey<'a> { RustBox(&'a Ident), RustVec(&'a Ident),