From af68acde70ed71e851e531152afeee505d6503f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Emmanuel=20Beno=C3=AEt?= <tseeker@nocternity.net>
Date: Sun, 8 Jan 2023 10:44:46 +0100
Subject: [PATCH] Clippy, clippy, clippy!

---
 src/interpreter/class.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/interpreter/class.rs b/src/interpreter/class.rs
index f551255..2762429 100644
--- a/src/interpreter/class.rs
+++ b/src/interpreter/class.rs
@@ -40,7 +40,7 @@ impl Display for Class {
 
 impl Callable for ClassRef {
     fn arity(&self) -> usize {
-        return 0;
+        0
     }
 
     fn call(&self, _itpr_state: &mut InterpreterState, _arguments: Vec<Value>) -> SloxResult<Value> {
@@ -63,7 +63,7 @@ impl Display for Instance {
     fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         f.write_fmt(format_args!(
             "<Instance of {}>",
-            self.class.borrow().to_string()
+            self.class.borrow(),
         ))
     }
 }