mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 15:51:23 +01:00
Update MSRV to 1.84.0
And appease clippy (`__CARGO_FIX_YOLO=1 cargo clippy --fix` plus some manual type shuffling).
This commit is contained in:
parent
5616510727
commit
175a62007d
20 changed files with 83 additions and 89 deletions
|
|
@ -114,10 +114,10 @@ async fn federation_self_test() -> Result<()> {
|
|||
)
|
||||
.await?;
|
||||
|
||||
if !response
|
||||
if response
|
||||
.server
|
||||
.as_ref()
|
||||
.is_some_and(|s| s.name.as_deref() == Some(env!("CARGO_PKG_NAME")))
|
||||
.is_none_or(|s| s.name.as_deref() != Some(env!("CARGO_PKG_NAME")))
|
||||
{
|
||||
error!(?response, "unexpected server version");
|
||||
return Err(Error::BadConfig(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue