1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-31 09:24:31 +03:00

Update Rust to 1.69.0

This commit is contained in:
Quentin Gliech
2023-04-24 11:01:59 +02:00
parent a6d1410146
commit 3979e9f46a
7 changed files with 25 additions and 42 deletions

View File

@ -188,7 +188,7 @@ pub async fn post(
existing_params,
login_token: &login.login_token,
};
let query = serde_urlencoded::to_string(&params)?;
let query = serde_urlencoded::to_string(params)?;
redirect_uri.set_query(Some(&query));
redirect_uri
};

View File

@ -42,8 +42,11 @@ use crate::{
MatrixHomeserver,
};
// This might fail if it's not the first time it's being called, which is fine,
// so we ignore the result
#[allow(unused_must_use)]
pub(crate) fn init_tracing() {
let _ = tracing_subscriber::fmt()
tracing_subscriber::fmt()
.with_max_level(tracing::Level::INFO)
.with_test_writer()
.try_init();