mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-08 15:48:08 +00:00
fixup! feat(core): introduce new drawing library
This commit is contained in:
parent
464f146201
commit
8eff76c1c8
@ -59,9 +59,9 @@ pub struct JpegCacheSlot<'a> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> JpegCacheSlot<'a> {
|
impl<'a> JpegCacheSlot<'a> {
|
||||||
fn new<'alloc: 'a, T>(bump: &'alloc T) -> Option<Self>
|
fn new<T>(bump: &'a T) -> Option<Self>
|
||||||
where
|
where
|
||||||
T: LocalAllocLeakExt<'alloc>,
|
T: LocalAllocLeakExt<'a>,
|
||||||
{
|
{
|
||||||
let scratchpad = bump
|
let scratchpad = bump
|
||||||
.alloc_t()?
|
.alloc_t()?
|
||||||
|
@ -19,9 +19,9 @@ struct ZlibCacheSlot<'a> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> ZlibCacheSlot<'a> {
|
impl<'a> ZlibCacheSlot<'a> {
|
||||||
fn new<'alloc: 'a, T>(bump: &'alloc T) -> Option<Self>
|
fn new<T>(bump: &'a T) -> Option<Self>
|
||||||
where
|
where
|
||||||
T: LocalAllocLeakExt<'alloc>,
|
T: LocalAllocLeakExt<'a>,
|
||||||
{
|
{
|
||||||
let window = bump
|
let window = bump
|
||||||
.alloc_t()?
|
.alloc_t()?
|
||||||
|
Loading…
Reference in New Issue
Block a user