diff --git a/godot-core/src/obj/gd.rs b/godot-core/src/obj/gd.rs index 8290a8366..b75bdf02a 100644 --- a/godot-core/src/obj/gd.rs +++ b/godot-core/src/obj/gd.rs @@ -134,15 +134,6 @@ where unsafe { Gd::from_obj_sys(object_ptr) } } - /// Construct default instance for manually managed pointer. - pub fn new_alloc() -> Self - where - T: GodotClass + cap::GodotDefault, - ManualMem: mem::PossiblyManual, - { - Self::default_instance() - } - /// Moves a user-created object into this smart pointer, submitting ownership to the Godot engine. /// /// This is only useful for types `T` which do not store their base objects (if they have a base,