mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-24 16:48:52 -04:00
formatting
This commit is contained in:
@@ -71,13 +71,8 @@ pub trait SafeEncode {
|
||||
store_cipher: &StoreCipher,
|
||||
i: usize,
|
||||
) -> JsValue {
|
||||
format!(
|
||||
"{}{}{:016x}",
|
||||
self.as_secure_string(table_name, store_cipher),
|
||||
KEY_SEPARATOR,
|
||||
i,
|
||||
)
|
||||
.into()
|
||||
format!("{}{}{:016x}", self.as_secure_string(table_name, store_cipher), KEY_SEPARATOR, i,)
|
||||
.into()
|
||||
}
|
||||
|
||||
/// Encode self into a IdbKeyRange for searching all keys that are
|
||||
|
||||
Reference in New Issue
Block a user