mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Fix Pr comments
This commit is contained in:
parent
4860fd4529
commit
db0c681bae
14 changed files with 38 additions and 58 deletions
|
@ -40,10 +40,6 @@ where
|
|||
Some((head, tail))
|
||||
}
|
||||
|
||||
// pub fn pretty_thousands<A: Borrow<T>, T: fmt::Display>(number: A) -> String {
|
||||
// thousands::Separable::separate_with_spaces(number.borrow())
|
||||
// }
|
||||
|
||||
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