Clean up many warning messages

This commit is contained in:
Clément Renault
2019-10-08 17:31:07 +02:00
parent 0a5ad4db06
commit 6534a9ec1d
8 changed files with 14 additions and 25 deletions

View File

@ -353,7 +353,7 @@ mod tests {
pub struct TempDatabase {
database: Database,
index: Index,
tempdir: TempDir,
_tempdir: TempDir,
}
impl TempDatabase {
@ -418,7 +418,7 @@ mod tests {
writer.commit().unwrap();
drop(rkv);
TempDatabase { database, index, tempdir }
TempDatabase { database, index, _tempdir: tempdir }
}
}