From c74fde88291ba44e32d94129d5fd02036c9a5764 Mon Sep 17 00:00:00 2001 From: Jiawen Geng Date: Thu, 9 Sep 2021 03:09:22 +0000 Subject: [PATCH] fix: compiler warning --- object/object.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/object/object.rs b/object/object.rs index 58236d5..56cb815 100644 --- a/object/object.rs +++ b/object/object.rs @@ -75,7 +75,7 @@ impl Hash for Object { Object::Integer(i) => i.hash(state), Object::Boolean(b) => b.hash(state), Object::String(s) => s.hash(state), - t => panic!(format!("can't hashable for {}" ,t)) + t => panic!("can't hashable for {}" ,t) } }