mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
remove lifetime param in storage trait (#5046)
This commit is contained in:
@ -148,9 +148,9 @@ impl Command {
|
||||
}
|
||||
|
||||
/// Find diffs for a table, then analyzing the result
|
||||
fn find_diffs<'a, T: Table>(
|
||||
primary_tx: impl DbTx<'a>,
|
||||
secondary_tx: impl DbTx<'a>,
|
||||
fn find_diffs<T: Table>(
|
||||
primary_tx: impl DbTx,
|
||||
secondary_tx: impl DbTx,
|
||||
output_dir: impl AsRef<Path>,
|
||||
) -> eyre::Result<()>
|
||||
where
|
||||
@ -231,9 +231,9 @@ where
|
||||
|
||||
/// This diff algorithm is slightly different, it will walk _each_ table, cross-checking for the
|
||||
/// element in the other table.
|
||||
fn find_diffs_advanced<'a, T: Table>(
|
||||
primary_tx: &impl DbTx<'a>,
|
||||
secondary_tx: &impl DbTx<'a>,
|
||||
fn find_diffs_advanced<T: Table>(
|
||||
primary_tx: &impl DbTx,
|
||||
secondary_tx: &impl DbTx,
|
||||
) -> eyre::Result<TableDiffResult<T>>
|
||||
where
|
||||
T::Value: PartialEq,
|
||||
|
||||
Reference in New Issue
Block a user