chore(github): use codespell to inspect and correct spelling issues (#7775)

Signed-off-by: jsvisa <delweng@gmail.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Delweng
2024-04-24 05:32:59 +08:00
committed by GitHub
parent 665e67ec7c
commit 7a593882e1
28 changed files with 55 additions and 34 deletions

View File

@ -69,7 +69,7 @@ fn unwind_and_copy<DB: Database>(
Ok(())
}
/// Try to re-execute the stage straightaway
/// Try to re-execute the stage straight away
async fn dry_run<DB: Database>(
output_provider_factory: ProviderFactory<DB>,
to: u64,

View File

@ -65,7 +65,7 @@ fn unwind_and_copy<DB: Database>(
Ok(())
}
/// Try to re-execute the stage straightaway
/// Try to re-execute the stage straight away
async fn dry_run<DB: Database>(
output_provider_factory: ProviderFactory<DB>,
to: u64,

View File

@ -138,7 +138,7 @@ async fn unwind_and_copy<DB: Database>(
Ok(())
}
/// Try to re-execute the stage straightaway
/// Try to re-execute the stage straight away
async fn dry_run<DB: Database>(
output_provider_factory: ProviderFactory<DB>,
to: u64,

View File

@ -81,7 +81,7 @@ where
{
let mut rows = vec![];
let mut seen_keys = HashSet::new();
let strat = proptest::collection::vec(
let strategy = proptest::collection::vec(
any_with::<TableRow<T>>((
<T::Key as Arbitrary>::Parameters::default(),
<T::Value as Arbitrary>::Parameters::default(),
@ -94,7 +94,7 @@ where
while rows.len() < per_table {
// Generate all `per_table` rows: (Key, Value)
rows.extend(
&mut strat
&mut strategy
.new_tree(runner)
.map_err(|e| eyre::eyre!("{e}"))?
.current()