crypto: Don't borrow inside a format unnecessarily
Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com>master
parent
4a7be13961
commit
e15f7264dc
|
@ -39,7 +39,7 @@ use crate::{
|
||||||
fn encode_key_info(info: &RequestedKeyInfo) -> String {
|
fn encode_key_info(info: &RequestedKeyInfo) -> String {
|
||||||
format!(
|
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 New Issue