From d4eab25869e9f2042b9ffa907552e403bb646f33 Mon Sep 17 00:00:00 2001 From: Mykhailo Donchenko <91957742+Buckram123@users.noreply.github.com> Date: Mon, 24 Nov 2025 19:04:07 +0200 Subject: [PATCH] Update comment to use to_cow_str() for class_id --- godot-core/src/obj/traits.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/godot-core/src/obj/traits.rs b/godot-core/src/obj/traits.rs index 9d522259c..9929f1802 100644 --- a/godot-core/src/obj/traits.rs +++ b/godot-core/src/obj/traits.rs @@ -36,7 +36,7 @@ where /// Globally unique class ID, linked to the name under which the class is registered in Godot. /// - /// The name may deviate from the Rust struct name: `HttpRequest::class_id().as_str() == "HTTPRequest"`. + /// The name may deviate from the Rust struct name: `HttpRequest::class_id().to_cow_str() == "HTTPRequest"`. fn class_id() -> ClassId; #[deprecated = "Renamed to `class_id()`"]