mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 09:16:00 +00:00
Fix warning
This commit is contained in:
@@ -273,10 +273,10 @@ mod test {
|
|||||||
struct TestBuilder {
|
struct TestBuilder {
|
||||||
import_config: ImportConfig,
|
import_config: ImportConfig,
|
||||||
vc: ApiTester,
|
vc: ApiTester,
|
||||||
dir: TempDir,
|
|
||||||
/// Holds the temp directory owned by the `CreateTestBuilder` so it doesn't get cleaned-up
|
/// Holds the temp directory owned by the `CreateTestBuilder` so it doesn't get cleaned-up
|
||||||
/// before we can read it.
|
/// before we can read it.
|
||||||
create_dir: Option<TempDir>,
|
create_dir: Option<TempDir>,
|
||||||
|
_dir: TempDir,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl TestBuilder {
|
impl TestBuilder {
|
||||||
@@ -295,8 +295,8 @@ mod test {
|
|||||||
ignore_duplicates: false,
|
ignore_duplicates: false,
|
||||||
},
|
},
|
||||||
vc,
|
vc,
|
||||||
dir,
|
|
||||||
create_dir: None,
|
create_dir: None,
|
||||||
|
_dir: dir,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user