mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
Fix typo and remove useless code in tests
This commit is contained in:
parent
ab4e649221
commit
eabac9676b
2 changed files with 2 additions and 6 deletions
|
@ -61,7 +61,7 @@ impl FileStore {
|
|||
|
||||
/// Creates a new temporary update file with the given Uuid.
|
||||
/// A call to `persist` is needed to persist the file in the database.
|
||||
pub fn new_update_woth_uuid(&self, uuid: u128) -> Result<(Uuid, File)> {
|
||||
pub fn new_update_with_uuid(&self, uuid: u128) -> Result<(Uuid, File)> {
|
||||
let file = NamedTempFile::new_in(&self.path)?;
|
||||
let uuid = Uuid::from_u128(uuid);
|
||||
let path = self.path.join(uuid.to_string());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue