Skip to content

Commit

Permalink
fix: compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
gengjiawen committed Sep 9, 2021
1 parent dae6aaf commit c74fde8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion object/object.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

}
Expand Down

0 comments on commit c74fde8

Please sign in to comment.