diff --git a/nac3core/src/codegen/types/ndarray.rs b/nac3core/src/codegen/types/ndarray.rs index d149b910..ca1c6bf5 100644 --- a/nac3core/src/codegen/types/ndarray.rs +++ b/nac3core/src/codegen/types/ndarray.rs @@ -102,12 +102,13 @@ impl<'ctx> NDArrayType<'ctx> { Ok(()) } - // TODO: Move this into e.g. StructProxyType + /// Returns an instance of [`StructFields`] containing all field accessors for this type. #[must_use] fn fields(ctx: &'ctx Context, llvm_usize: IntType<'ctx>) -> NDArrayStructFields<'ctx> { NDArrayStructFields::new(ctx, llvm_usize) } + /// See [`NDArrayType::fields`]. // TODO: Move this into e.g. StructProxyType #[must_use] pub fn get_fields(