Skip to content

Commit

Permalink
Hide some API symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
Bromeon committed Nov 5, 2024
1 parent c866df9 commit 2a5f011
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions godot-core/src/meta/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ pub trait ArrayElement: GodotType + ToGodot + FromGodot + sealed::Sealed + meta:
builtin_type_string::<Self>()
}

#[doc(hidden)]
fn debug_validate_elements(_array: &builtin::Array<Self>) -> Result<(), ConvertError> {
// No-op for most element types.
Ok(())
Expand Down
1 change: 1 addition & 0 deletions godot-core/src/registry/property.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ pub trait Export: Var {
///
/// Only overridden for `Gd<T>`, to detect erroneous exports of `Node` inside a `Resource` class.
#[allow(clippy::wrong_self_convention)]
#[doc(hidden)]
fn as_node_class() -> Option<ClassName> {
None
}
Expand Down

0 comments on commit 2a5f011

Please sign in to comment.