From 1aed6ab52bb7cc8069339797994c81a8348c4f30 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Thu, 18 Jun 2020 12:27:21 +0200 Subject: [PATCH] Fix intra_doc_link_resolution_failure warnings --- ruma-events/src/json.rs | 4 ++-- .../src/membership/create_join_event_template/v1.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ruma-events/src/json.rs b/ruma-events/src/json.rs index ff54f6ef..895ac588 100644 --- a/ruma-events/src/json.rs +++ b/ruma-events/src/json.rs @@ -12,8 +12,8 @@ use serde_json::value::RawValue; use crate::EventContent; -/// A wrapper around `Box`, to be used in place of event [content] [collection] types in -/// Matrix endpoint definition to allow request and response types to contain unknown events in +/// A wrapper around `Box`, to be used in place of event \[content\] \[collection\] types +/// in Matrix endpoint definition to allow request and response types to contain unknown events in /// addition to the known event(s) represented by the generic argument `Ev`. pub struct EventJson { json: Box, diff --git a/ruma-federation-api/src/membership/create_join_event_template/v1.rs b/ruma-federation-api/src/membership/create_join_event_template/v1.rs index 84f88699..d1364928 100644 --- a/ruma-federation-api/src/membership/create_join_event_template/v1.rs +++ b/ruma-federation-api/src/membership/create_join_event_template/v1.rs @@ -23,7 +23,7 @@ ruma_api! { #[ruma_api(path)] pub user_id: UserId, #[ruma_api(query)] - /// The room versions the sending server has support for. Defaults to [1]. + /// The room versions the sending server has support for. Defaults to 1. #[serde(skip_serializing_if = "Vec::is_empty")] pub ver: Vec, }