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()`"]