Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
oflatt committed Oct 7, 2024
1 parent 67d6c20 commit cc76471
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ mod value;
use ast::desugar::Desugar;
use ast::remove_globals::remove_globals;
use extract::Extractor;
use hashbrown::hash_map::Entry;
use index::ColumnIndex;
use indexmap::map::Entry;
use instant::{Duration, Instant};
pub use serialize::SerializeConfig;
pub use serialize::SerializedNode;
Expand Down
5 changes: 3 additions & 2 deletions src/typechecking.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
use crate::{core::CoreRule, *};
use ast::Rule;
use hashbrown::hash_map;

#[derive(Clone, Debug)]
pub struct FuncType {
Expand Down Expand Up @@ -84,8 +85,8 @@ impl TypeInfo {
let name = sort.name();

match self.sorts.entry(name) {
Entry::Occupied(_) => Err(TypeError::SortAlreadyBound(name, span)),
Entry::Vacant(e) => {
hash_map::Entry::Occupied(_) => Err(TypeError::SortAlreadyBound(name, span)),
hash_map::Entry::Vacant(e) => {
e.insert(sort.clone());
sort.register_primitives(self);
Ok(())
Expand Down

0 comments on commit cc76471

Please sign in to comment.