Reduce number of AsRef generics

They result in compilation of duplicate code.
This commit is contained in:
link2xt
2021-12-31 13:57:45 +00:00
parent 4136217249
commit 30cb0cbcfd
14 changed files with 53 additions and 61 deletions

View File

@@ -1535,7 +1535,7 @@ async fn ndn_maybe_add_info_msg(
chat::add_info_msg(
context,
chat_id,
text,
&text,
dc_create_smeared_timestamp(context).await,
)
.await?;