crypto: Don't borrow inside a format unnecessarily
Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com>
This commit is contained in:
parent
4a7be13961
commit
e15f7264dc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue