Fix warning

This commit is contained in:
Paul Hauner
2022-08-22 12:08:01 +10:00
parent 52e50f5fdc
commit 3bdddb3dd2

View File

@@ -273,10 +273,10 @@ mod test {
struct TestBuilder {
import_config: ImportConfig,
vc: ApiTester,
dir: TempDir,
/// Holds the temp directory owned by the `CreateTestBuilder` so it doesn't get cleaned-up
/// before we can read it.
create_dir: Option<TempDir>,
_dir: TempDir,
}
impl TestBuilder {
@@ -295,8 +295,8 @@ mod test {
ignore_duplicates: false,
},
vc,
dir,
create_dir: None,
_dir: dir,
}
}