improvement: switch to stable rust

This commit is contained in:
timokoesters 2020-07-22 21:57:14 +02:00
parent 9c095f1538
commit d8e1248df6
No known key found for this signature in database
GPG key ID: 356E705610F626D5
5 changed files with 106 additions and 141 deletions

View file

@ -1872,10 +1872,10 @@ pub async fn get_public_rooms_route(
.into())
}
#[post("/_matrix/client/r0/publicRooms", data = "<body>")]
#[post("/_matrix/client/r0/publicRooms", data = "<_body>")]
pub async fn get_public_rooms_filtered_route(
db: State<'_, Database>,
body: Ruma<get_public_rooms_filtered::Request>,
_body: Ruma<get_public_rooms_filtered::Request>,
) -> ConduitResult<get_public_rooms_filtered::Response> {
let mut chunk = db
.rooms

View file

@ -1,4 +1,3 @@
#![feature(proc_macro_hygiene, decl_macro)]
#![warn(rust_2018_idioms)]
pub mod push_rules;