Skip to content

Commit

Permalink
cargo fix + fix spurious CI failure
Browse files Browse the repository at this point in the history
  • Loading branch information
kraktus committed Jul 25, 2023
1 parent 82a7791 commit db8eef9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
9 changes: 1 addition & 8 deletions cli/src/convert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,9 @@ pub use helpmate_tb::{
Common, EncoderDecoder, Material, MaterialWinner, Outcome, SideToMoveGetter, TableBaseBuilder,
UNDEFINED_OUTCOME_BYCOLOR,
};
use helpmate_tb::{DeIndexer, Descendants, FileHandler, IndexWithTurn, Indexer, RetrieveOutcome};
use log::{debug, error, info};

use std::path::PathBuf;

use retroboard::{
shakmaty::{Chess, Color, Position},
RetroBoard,
};

use clap::Args;

use crate::explore::MatOrAll;
Expand All @@ -29,6 +22,6 @@ pub struct Convert {

impl Convert {
pub fn run(&self) {
for mat_win in self.mat_or_all.mat_winners(&self.tb_dir, None) {}
for _mat_win in self.mat_or_all.mat_winners(&self.tb_dir, None) {}
}
}
2 changes: 1 addition & 1 deletion cli/tests/cmd/KQvK.stderr
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dhat: Total: [..],[..] bytes in [..] blocks
dhat: At t-gmax: 165,[..] bytes in [..] blocks
dhat: At t-gmax: 16[..],[..] bytes in [..] blocks
dhat: At t-end: [..] bytes in [..] blocks
dhat: The data has been saved to dhat-heap.json, and is viewable with dhat/dh_view.html
2 changes: 1 addition & 1 deletion lib/benches/indexer.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion};
use criterion::{BenchmarkId, Criterion};

use helpmate_tb::{handle_symetry, Indexer, Material, NaiveIndexer, SideToMove, Table};
use retroboard::RetroBoard;
Expand Down

0 comments on commit db8eef9

Please sign in to comment.