From 7187597677f5da607c960814f361a381219a3d68 Mon Sep 17 00:00:00 2001 From: Ellen Arteca Date: Tue, 3 Dec 2024 13:47:17 -0800 Subject: [PATCH] clippy --- tool/src/kotlin/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/src/kotlin/mod.rs b/tool/src/kotlin/mod.rs index 650103a4e..771c93ecd 100644 --- a/tool/src/kotlin/mod.rs +++ b/tool/src/kotlin/mod.rs @@ -1191,7 +1191,7 @@ returnVal.option() ?: return null Some(SpecialMethod::Stringifier) => { if !special_methods.has_stringifier { special_methods.has_stringifier = true; - format!("override fun toString(): String") + "override fun toString(): String".to_string() } else { panic!("Can only have one stringifier method per opaque struct") }