Fix unnecessary mut (#3224)

This commit is contained in:
Dustin J. Mitchell 2023-12-24 20:14:17 -05:00 committed by GitHub
parent 1380d79148
commit bd46b254af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,7 +66,7 @@ impl<'a> StorageTxn for InnerTxn<'a> {
snapshot: Snapshot,
data: Vec<u8>,
) -> anyhow::Result<()> {
let mut client = self
let client = self
.0
.clients
.get_mut(&client_id)