mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
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:
@ -136,7 +136,7 @@ where
|
||||
T::Key: std::hash::Hash + Arbitrary,
|
||||
T::Value: Arbitrary,
|
||||
{
|
||||
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(),
|
||||
@ -147,8 +147,8 @@ where
|
||||
.boxed();
|
||||
|
||||
let mut runner = TestRunner::new(ProptestConfig::default());
|
||||
let mut preload = strat.new_tree(&mut runner).unwrap().current();
|
||||
let mut input = strat.new_tree(&mut runner).unwrap().current();
|
||||
let mut preload = strategy.new_tree(&mut runner).unwrap().current();
|
||||
let mut input = strategy.new_tree(&mut runner).unwrap().current();
|
||||
|
||||
let mut unique_keys = HashSet::new();
|
||||
preload.retain(|(k, _)| unique_keys.insert(k.clone()));
|
||||
|
||||
@ -23,7 +23,7 @@ mod sealed {
|
||||
use crate::{database::Database, mock::DatabaseMock, DatabaseEnv};
|
||||
use std::sync::Arc;
|
||||
|
||||
/// Sealed trait to limit the implementors of the Database trait.
|
||||
/// Sealed trait to limit the implementers of the Database trait.
|
||||
pub trait Sealed: Sized {}
|
||||
|
||||
impl<DB: Database> Sealed for &DB {}
|
||||
|
||||
Reference in New Issue
Block a user