mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 01:11:10 +00:00
Easy PR: Fix warnings from latest nightly (#14195)
* unneeded mut * remove needless borrows
This commit is contained in:
@@ -54,16 +54,16 @@ pub fn open<H: Clone + AsRef<[u8]>>(
|
||||
];
|
||||
|
||||
for i in compressed {
|
||||
let mut column = &mut config.columns[i as usize];
|
||||
let column = &mut config.columns[i as usize];
|
||||
column.compression = parity_db::CompressionType::Lz4;
|
||||
}
|
||||
|
||||
let mut state_col = &mut config.columns[columns::STATE as usize];
|
||||
let state_col = &mut config.columns[columns::STATE as usize];
|
||||
state_col.ref_counted = true;
|
||||
state_col.preimage = true;
|
||||
state_col.uniform = true;
|
||||
|
||||
let mut tx_col = &mut config.columns[columns::TRANSACTION as usize];
|
||||
let tx_col = &mut config.columns[columns::TRANSACTION as usize];
|
||||
tx_col.ref_counted = true;
|
||||
tx_col.preimage = true;
|
||||
tx_col.uniform = true;
|
||||
|
||||
Reference in New Issue
Block a user