Skip to content

Commit

Permalink
Remove unused options field of ConsoleTestDiscoveryState struct
Browse files Browse the repository at this point in the history
  • Loading branch information
krtab committed Jan 3, 2024
1 parent f1ff461 commit 2ece51c
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions library/test/src/console.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ pub struct ConsoleTestDiscoveryState {
pub tests: usize,
pub benchmarks: usize,
pub ignored: usize,
pub options: Options,
}

impl ConsoleTestDiscoveryState {
Expand All @@ -56,13 +55,7 @@ impl ConsoleTestDiscoveryState {
None => None,
};

Ok(ConsoleTestDiscoveryState {
log_out,
tests: 0,
benchmarks: 0,
ignored: 0,
options: opts.options,
})
Ok(ConsoleTestDiscoveryState { log_out, tests: 0, benchmarks: 0, ignored: 0 })
}

pub fn write_log<F, S>(&mut self, msg: F) -> io::Result<()>
Expand Down

0 comments on commit 2ece51c

Please sign in to comment.