Bytes are Display-able

This commit is contained in:
Deirdre Connolly 2020-11-05 08:49:44 -05:00 committed by GitHub
parent d784a23eab
commit c48e24e89b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ impl SledSerialize for sled::transaction::TransactionalTree {
let value_bytes = value.into_ivec();
let previous = self.insert(key_bytes, value_bytes)?;
assert!(previous.is_none(), format!("state insertion error: duplicate key {:?} when inserting value {:?}", key, value));
assert!(previous.is_none(), format!("state insertion error: duplicate key {:?} when inserting value {:?}", key_bytes, value_bytes));
Ok(())
}