rename Ruma to Ar

This follows the pattern of the previous commit.
This commit is contained in:
Charles Hall 2024-05-18 19:01:27 -07:00
parent 7ea98dac72
commit f8961d5578
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
37 changed files with 183 additions and 181 deletions

View file

@ -2,7 +2,7 @@ use std::{collections::BTreeMap, iter::FromIterator};
use ruma::api::client::discovery::get_supported_versions;
use crate::{Ra, Result, Ruma};
use crate::{Ar, Ra, Result};
/// # `GET /_matrix/client/versions`
///
@ -17,7 +17,7 @@ use crate::{Ra, Result, Ruma};
/// Note: Unstable features are used while developing new features. Clients
/// should avoid using unstable features in their stable releases
pub(crate) async fn get_supported_versions_route(
_body: Ruma<get_supported_versions::Request>,
_body: Ar<get_supported_versions::Request>,
) -> Result<Ra<get_supported_versions::Response>> {
let resp = get_supported_versions::Response {
versions: vec![