From 9477e5a8636fe31e5aa92c2e721f2abbf9d6cd83 Mon Sep 17 00:00:00 2001 From: Claudio Russo Date: Mon, 18 Mar 2024 18:41:18 +0000 Subject: [PATCH] Update rust/candid/src/types/type_env.rs --- rust/candid/src/types/type_env.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/rust/candid/src/types/type_env.rs b/rust/candid/src/types/type_env.rs index 178bb7bf..0504408e 100644 --- a/rust/candid/src/types/type_env.rs +++ b/rust/candid/src/types/type_env.rs @@ -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),