mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-18 21:52:30 -04:00
crypto: Don't borrow inside a format unnecessarily
Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com>
This commit is contained in:
@@ -39,7 +39,7 @@ use crate::{
|
||||
fn encode_key_info(info: &RequestedKeyInfo) -> String {
|
||||
format!(
|
||||
"{}{}{}{}",
|
||||
&info.room_id, &info.sender_key, &info.algorithm, &info.session_id
|
||||
info.room_id, info.sender_key, info.algorithm, info.session_id
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user