mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-02-15 07:10:12 +08:00
Remove TODO and rely on the PR checklist
This commit is contained in:
parent
ecc7741212
commit
3a32a58d6c
@ -60,7 +60,6 @@ impl<'a> CompressedKvReaderU16<'a> {
|
|||||||
bump: &'b Bump,
|
bump: &'b Bump,
|
||||||
dictionary: &DecoderDictionary,
|
dictionary: &DecoderDictionary,
|
||||||
) -> io::Result<&'b KvReaderU16> {
|
) -> io::Result<&'b KvReaderU16> {
|
||||||
/// TODO use a better approach and stop cloning so much.
|
|
||||||
let mut buffer = Vec::new();
|
let mut buffer = Vec::new();
|
||||||
self.decompress_with(&mut buffer, dictionary)?;
|
self.decompress_with(&mut buffer, dictionary)?;
|
||||||
Ok(KvReaderU16::from_slice(bump.alloc_slice_copy(&buffer)))
|
Ok(KvReaderU16::from_slice(bump.alloc_slice_copy(&buffer)))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user