Skip to content

Commit bb004b5

Browse files
committed
Correct documentation on Array
1 parent 645673a commit bb004b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

godot-core/src/builtin/array.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ use sys::{ffi_methods, interface_fn, GodotFfi};
2222
/// Godot's `Array` can be either typed or untyped.
2323
///
2424
/// An untyped array can contain any kind of [`Variant`], even different types in the same array.
25-
/// We represent this in Rust as `Array`, which is just a type alias for `TypedArray<Variant>`.
25+
/// We represent this in Rust as `VariantArray`, which is just a type alias for `Array<Variant>`.
2626
///
2727
/// Godot also supports typed arrays, which are also just `Variant` arrays under the hood, but with
2828
/// runtime checks that no values of the wrong type are put into the array. We represent this as
29-
/// `TypedArray<T>`, where the type `T` implements `VariantMetadata`, `FromVariant` and `ToVariant`.
29+
/// `Array<T>`, where the type `T` implements `VariantMetadata`, `FromVariant` and `ToVariant`.
3030
///
3131
/// # Reference semantics
3232
///

0 commit comments

Comments
 (0)