Additional new nightly lint fixes.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2026-02-27 22:05:38 +00:00
parent e178c12b6e
commit cb219c2135
15 changed files with 24 additions and 24 deletions

View File

@@ -280,7 +280,7 @@ pub(crate) async fn get_profile_route(
.into_iter()
.filter_map(|(key, val)| val.map(|val| (key, val)))
.map(|(key, val)| (key.to_owned(), val.into()))
.chain(response.custom_profile_fields.into_iter());
.chain(response.custom_profile_fields);
return Ok(response.collect::<get_profile::v3::Response>());
}

View File

@@ -506,7 +506,7 @@ async fn register_user(
// log in conduit admin channel if a non-guest user registered
let notice =
format!("New user \"{user_id}\" registered on this server via {idp_name} ({idp_id})",);
format!("New user \"{user_id}\" registered on this server via {idp_name} ({idp_id})");
info!("{notice}");
if services.server.config.admin_room_notices {