Skip to content

Commit

Permalink
FxHashMap -> UnordMap
Browse files Browse the repository at this point in the history
  • Loading branch information
nilehmann committed Jun 10, 2024
1 parent 8b69560 commit 9c290f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions crates/flux-middle/src/rty/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ use flux_common::bug;
use itertools::Itertools;
pub use normalize::SpecFuncDefns;
use rustc_data_structures::unord::UnordMap;
use rustc_hash::FxHashMap;
use rustc_hir::def_id::DefId;
use rustc_index::{newtype_index, IndexSlice};
use rustc_macros::{Decodable, Encodable, TyDecodable, TyEncodable};
Expand Down Expand Up @@ -2003,7 +2002,7 @@ pub enum Coercion {
Project(DefId),
}

pub type ItemLocalMap<T> = FxHashMap<fhir::ItemLocalId, T>;
pub type ItemLocalMap<T> = UnordMap<fhir::ItemLocalId, T>;

#[derive(Debug)]
pub struct LocalTableInContext<'a, T> {
Expand Down
2 changes: 1 addition & 1 deletion crates/flux-refineck/src/refine_tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ pub(crate) struct Snapshot {
ptr: WeakNodePtr,
}

/// A ist of refinement variables and their sorts.
/// A list of refinement variables and their sorts.
#[derive(PartialEq, Eq)]
pub(crate) struct Scope {
bindings: IndexVec<Name, Sort>,
Expand Down

0 comments on commit 9c290f4

Please sign in to comment.