Remove some AsRef<str> (#3354)

Using &str instead of AsRef is better for compile times, binary size and code complexity.
This commit is contained in:
Hocuri
2022-05-23 12:57:50 +02:00
committed by GitHub
parent 9c41f0fdb9
commit 9549aca48b
10 changed files with 25 additions and 36 deletions

View File

@@ -1283,7 +1283,7 @@ pub async fn markseen_msgs(context: &Context, msg_ids: Vec<MsgId>) -> Result<()>
let msgs = context
.sql
.query_map(
format!(
&format!(
"SELECT
m.id AS id,
m.chat_id AS chat_id,