Skip to content

Commit

Permalink
♻️ fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
KPMGE committed Mar 23, 2024
1 parent 3e84b13 commit 149af0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/evaluator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ impl Object {
match self {
Object::Integer(value) => format!("{value}"),
Object::Boolean(value) => format!("{value}"),
Object::String(value) => format!("{value}"),
Object::String(value) => value.to_string(),
Object::Return(value) => value.inspect(),
Object::Function { .. } => "function".to_string(),
Object::Null => "null".to_string(),
Expand Down

0 comments on commit 149af0c

Please sign in to comment.