mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 08:11:33 +11:00
transfer should have a lifetime on the item you're passing in
This commit is contained in:
parent
de15538d42
commit
edcd37c203
|
@ -60,7 +60,7 @@ impl Dma {
|
||||||
pub unsafe fn hblank_transfer<'a, T>(
|
pub unsafe fn hblank_transfer<'a, T>(
|
||||||
&'a self,
|
&'a self,
|
||||||
location: &DmaControllable<T>,
|
location: &DmaControllable<T>,
|
||||||
values: &[T],
|
values: &'a [T],
|
||||||
) -> DmaTransferHandle<'a, T>
|
) -> DmaTransferHandle<'a, T>
|
||||||
where
|
where
|
||||||
T: Copy,
|
T: Copy,
|
||||||
|
|
Loading…
Reference in a new issue