Skip to content

Commit 4330bdb

Browse files
committed
Fix lint
1 parent 41a34f8 commit 4330bdb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ check:
2929
cargo +nightly-2024-12-01 clippy --target=nanox && \
3030
cargo +nightly-2024-12-01 clippy --target=stax && \
3131
cargo install cargo-audit && cargo audit && \
32-
cargo install --locked cargo-deny && cargo +nightly-2024-12-01 deny check \
32+
cargo install --locked cargo-deny@0.17.0 && cargo +nightly-2024-12-01 deny check \
3333
"
3434

3535
_run-speculos:

app/src/nvm/swapping_buffer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ impl<'a, const RAM: usize, const FLASH: usize> SwappingBuffer<'a, RAM, FLASH> {
137137
}
138138
}
139139

140-
impl<'a, const RAM: usize, const FLASH: usize> Writable for SwappingBuffer<'a, RAM, FLASH> {
140+
impl<const RAM: usize, const FLASH: usize> Writable for SwappingBuffer<'_, RAM, FLASH> {
141141
fn write(&mut self, bytes: &[u8]) -> bool {
142142
self.write(bytes).is_ok()
143143
}

0 commit comments

Comments
 (0)