mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
clean PR warnings
This commit is contained in:
parent
66c2c82a18
commit
1c5705c164
11 changed files with 11 additions and 103 deletions
|
@ -44,6 +44,7 @@ where
|
|||
Some((head, tail))
|
||||
}
|
||||
|
||||
#[allow(unused)]
|
||||
pub fn read_u32_ne_bytes(bytes: &[u8]) -> impl Iterator<Item = u32> + '_ {
|
||||
bytes.chunks_exact(4).flat_map(TryInto::try_into).map(u32::from_ne_bytes)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue