Address compilation warnings in the Nightly channel of Rust.

This commit is contained in:
Jacob Adam committed 2025-08-14 17:45:21 +01:00
1 parent 36a16db659
commit 718f2cb455
3 files changed
+30 -30

No files matched your search

+1 -1
View File
@@ -138,7 +138,7 @@ impl DecodingResult {
}
}
pub fn as_buffer(&mut self, start: usize) -> DecodingBuffer {
pub fn as_buffer(&mut self, start: usize) -> DecodingBuffer<'_> {
match *self {
DecodingResult::U8(ref mut buf) => DecodingBuffer::U8(&mut buf[start..]),
DecodingResult::U16(ref mut buf) => DecodingBuffer::U16(&mut buf[start..]),