mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-06-26 01:42:34 +00:00
style(core): fix a few Rust lints
[no changelog]
This commit is contained in:
parent
f2564573eb
commit
a9f59f6dd6
@ -115,11 +115,11 @@ version = "0.2.2"
|
||||
[dependencies.heapless]
|
||||
version = "0.8.0"
|
||||
features = ["ufmt"]
|
||||
default_features = false
|
||||
default-features = false
|
||||
|
||||
[dependencies.num-traits]
|
||||
version = "0.2.19"
|
||||
default_features = false
|
||||
default-features = false
|
||||
features = ["libm"]
|
||||
|
||||
[dependencies.num-derive]
|
||||
@ -154,7 +154,7 @@ default-features = false
|
||||
|
||||
[build-dependencies.bindgen]
|
||||
version = "0.62.0"
|
||||
default_features = false
|
||||
default-features = false
|
||||
features = ["runtime"]
|
||||
|
||||
# Build dependencies used for linking the test binary
|
||||
|
@ -106,7 +106,7 @@ impl<'s> Shape<'s> for LoaderCircular {
|
||||
}
|
||||
|
||||
impl<'s> ShapeClone<'s> for LoaderCircular {
|
||||
fn clone_at_bump<T>(self, bump: &'s T) -> Option<&'s mut dyn Shape>
|
||||
fn clone_at_bump<T>(self, bump: &'s T) -> Option<&'s mut dyn Shape<'s>>
|
||||
where
|
||||
T: LocalAllocLeakExt<'s>,
|
||||
{
|
||||
|
@ -78,7 +78,7 @@ impl Shape<'_> for LoaderSmall {
|
||||
}
|
||||
|
||||
impl<'s> ShapeClone<'s> for LoaderSmall {
|
||||
fn clone_at_bump<T>(self, bump: &'s T) -> Option<&'s mut dyn Shape>
|
||||
fn clone_at_bump<T>(self, bump: &'s T) -> Option<&'s mut dyn Shape<'s>>
|
||||
where
|
||||
T: LocalAllocLeakExt<'s>,
|
||||
{
|
||||
|
@ -95,7 +95,7 @@ impl Shape<'_> for LoaderStarry {
|
||||
}
|
||||
|
||||
impl<'s> ShapeClone<'s> for LoaderStarry {
|
||||
fn clone_at_bump<T>(self, bump: &'s T) -> Option<&'s mut dyn Shape>
|
||||
fn clone_at_bump<T>(self, bump: &'s T) -> Option<&'s mut dyn Shape<'s>>
|
||||
where
|
||||
T: LocalAllocLeakExt<'s>,
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user