From 3d178d34894115419640303c34c43501234f39aa Mon Sep 17 00:00:00 2001 From: Nineko Date: Mon, 25 Dec 2023 15:05:40 +0100 Subject: [PATCH] fix: changed name of routes function to better match its purpose Co-authored-by: June --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 02eb6f32..74a2f6f3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -614,7 +614,7 @@ fn method_to_filter(method: Method) -> MethodFilter { m => panic!("Unsupported HTTP method: {m:?}"), } } -fn server_routes() -> Router { +fn server_server_routes() -> Router { Router::default() .ruma_route(server_server::get_server_version_route) .route(