From 2a5f011943add754bcc92f9d6b4eb518efca84fa Mon Sep 17 00:00:00 2001 From: Jan Haller Date: Tue, 5 Nov 2024 22:51:14 +0100 Subject: [PATCH] Hide some API symbols --- godot-core/src/meta/traits.rs | 1 + godot-core/src/registry/property.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/godot-core/src/meta/traits.rs b/godot-core/src/meta/traits.rs index 5c28f5cda..e9248a60c 100644 --- a/godot-core/src/meta/traits.rs +++ b/godot-core/src/meta/traits.rs @@ -175,6 +175,7 @@ pub trait ArrayElement: GodotType + ToGodot + FromGodot + sealed::Sealed + meta: builtin_type_string::() } + #[doc(hidden)] fn debug_validate_elements(_array: &builtin::Array) -> Result<(), ConvertError> { // No-op for most element types. Ok(()) diff --git a/godot-core/src/registry/property.rs b/godot-core/src/registry/property.rs index 68465ea46..5e0bbfb0d 100644 --- a/godot-core/src/registry/property.rs +++ b/godot-core/src/registry/property.rs @@ -60,6 +60,7 @@ pub trait Export: Var { /// /// Only overridden for `Gd`, to detect erroneous exports of `Node` inside a `Resource` class. #[allow(clippy::wrong_self_convention)] + #[doc(hidden)] fn as_node_class() -> Option { None }