From ff84f6f15b76614755807f9a2192c8ab217b05dc Mon Sep 17 00:00:00 2001 From: Ali Somay Date: Tue, 2 May 2023 15:24:55 +0200 Subject: [PATCH] Make clippy happy --- languages/rust/oso/src/host/class.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/languages/rust/oso/src/host/class.rs b/languages/rust/oso/src/host/class.rs index d4cd58cc26..cc441df103 100644 --- a/languages/rust/oso/src/host/class.rs +++ b/languages/rust/oso/src/host/class.rs @@ -380,7 +380,7 @@ impl Instance { } pub(crate) fn debug_name(&self) -> &'static str { - &self.debug_type_name + self.debug_type_name } /// Lookup an attribute on the instance via the registered `Class`