From bb004b5535dc9e8a5fa84d5fda411fe279c780cf Mon Sep 17 00:00:00 2001 From: Silvio Mayolo Date: Sun, 7 May 2023 20:21:39 -0400 Subject: [PATCH] Correct documentation on Array --- godot-core/src/builtin/array.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/godot-core/src/builtin/array.rs b/godot-core/src/builtin/array.rs index 972f2e6e2..3aeb02cd6 100644 --- a/godot-core/src/builtin/array.rs +++ b/godot-core/src/builtin/array.rs @@ -22,11 +22,11 @@ use sys::{ffi_methods, interface_fn, GodotFfi}; /// Godot's `Array` can be either typed or untyped. /// /// An untyped array can contain any kind of [`Variant`], even different types in the same array. -/// We represent this in Rust as `Array`, which is just a type alias for `TypedArray`. +/// We represent this in Rust as `VariantArray`, which is just a type alias for `Array`. /// /// Godot also supports typed arrays, which are also just `Variant` arrays under the hood, but with /// runtime checks that no values of the wrong type are put into the array. We represent this as -/// `TypedArray`, where the type `T` implements `VariantMetadata`, `FromVariant` and `ToVariant`. +/// `Array`, where the type `T` implements `VariantMetadata`, `FromVariant` and `ToVariant`. /// /// # Reference semantics ///