diff --git a/src/builtins/mod.rs b/src/builtins/mod.rs index 7db747d..344a6c7 100644 --- a/src/builtins/mod.rs +++ b/src/builtins/mod.rs @@ -1,5 +1,3 @@ -use derive_more::Constructor; - use crate::vm::Env; use crate::ty::internal::{Const, Value, AttrSet, PrimOp}; use crate::ty::common::Symbol; diff --git a/src/ty/internal/cnst.rs b/src/ty/internal/cnst.rs index 05f2745..af022ed 100644 --- a/src/ty/internal/cnst.rs +++ b/src/ty/internal/cnst.rs @@ -1,5 +1,3 @@ -use std::hash::{Hash, Hasher}; - use anyhow::Error; use derive_more::{IsVariant, Unwrap}; diff --git a/src/ty/public/cnst.rs b/src/ty/public/cnst.rs index 4d1def7..4527555 100644 --- a/src/ty/public/cnst.rs +++ b/src/ty/public/cnst.rs @@ -23,7 +23,7 @@ impl From for Const { Int(int) => Const::Int(int), Float(float) => Const::Float(float), String(string) => Const::String(string), - Func(func) => Const::Func + Func(_) => Const::Func } } }