forked from M-Labs/nac3
1
0
Fork 0

fixup! core/ndstrides: implement np_array()

fix ListObject::get_opaque_list_ptr comment
This commit is contained in:
lyken 2024-08-23 12:10:51 +08:00
parent 787fe23202
commit 2fa3ada445
No known key found for this signature in database
GPG Key ID: 3BD5FC6AC8325DD8
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ impl<'ctx> ListObject<'ctx> {
/// Get the value of this [`ListObject`] as a list with opaque items. /// Get the value of this [`ListObject`] as a list with opaque items.
/// ///
/// This function allocates on the stack to create the list, but the /// This function allocates on the stack to create the list, but the
/// reference to the `items` are preserved. /// reference to the `items` is preserved.
pub fn get_opaque_list_ptr<G: CodeGenerator + ?Sized>( pub fn get_opaque_list_ptr<G: CodeGenerator + ?Sized>(
&self, &self,
generator: &mut G, generator: &mut G,