forked from M-Labs/nac3
fixup! core/ndstrides: implement np_array()
fix ListObject::get_opaque_list_ptr comment
This commit is contained in:
parent
787fe23202
commit
2fa3ada445
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue