Skip to content

Commit

Permalink
Update rust/candid/src/types/type_env.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
crusso authored Mar 18, 2024
1 parent 01ba57b commit 9477e5a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions rust/candid/src/types/type_env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ impl TypeEnv {
ty.subst(&tau)
}
pub fn find_type(&self, name: &str) -> Result<&Type> {
// if name == "blob" {
// return Ok(TypeInner::Vec(TypeInner::Nat8.into()).into());
// };
match self.0.get(name) {
None => Err(Error::msg(format!("Unbound type identifier {name}"))),
Some(t) => Ok(t),
Expand Down

0 comments on commit 9477e5a

Please sign in to comment.