From 1911f5a8fabbb7875dde1ad4aa772f2a41383b13 Mon Sep 17 00:00:00 2001 From: strawberry Date: Fri, 8 Mar 2024 12:23:36 -0500 Subject: [PATCH] fix cargo doc lint Signed-off-by: strawberry --- src/api/client_server/media.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/api/client_server/media.rs b/src/api/client_server/media.rs index 5bf5523d..c2778294 100644 --- a/src/api/client_server/media.rs +++ b/src/api/client_server/media.rs @@ -96,7 +96,7 @@ pub async fn create_content_route(body: Ruma) -> Re /// /// This is a legacy endpoint ("/v1/") that some very old homeservers and/or /// clients may call. conduwuit adds these for compatibility purposes. -/// See https://spec.matrix.org/legacy/legacy/#id27 +/// See /// /// - Some metadata will be saved in the database /// - Media will be saved in the media/ directory @@ -213,7 +213,7 @@ pub async fn get_content_route(body: Ruma) -> Result /// /// - Only allows federation if `allow_remote` is true /// - Only redirects if `allow_redirect` is true @@ -304,7 +304,7 @@ pub async fn get_content_as_filename_route( /// /// This is a legacy endpoint ("/v1/") that some very old homeservers and/or /// clients may call. conduwuit adds these for compatibility purposes. -/// See https://spec.matrix.org/legacy/legacy/#id27 +/// See /// /// - Only allows federation if `allow_remote` is true /// - Only redirects if `allow_redirect` is true @@ -433,7 +433,7 @@ pub async fn get_content_thumbnail_route( /// /// This is a legacy endpoint ("/v1/") that some very old homeservers and/or /// clients may call. conduwuit adds these for compatibility purposes. -/// See https://spec.matrix.org/legacy/legacy/#id27 +/// See /// /// - Only allows federation if `allow_remote` is true /// - Only redirects if `allow_redirect` is true