Fix intra_doc_link_resolution_failure warnings

This commit is contained in:
Jonas Platte 2020-06-18 12:27:21 +02:00
parent 046668466c
commit 1aed6ab52b
No known key found for this signature in database
GPG Key ID: 7D261D771D915378
2 changed files with 3 additions and 3 deletions

View File

@ -12,8 +12,8 @@ use serde_json::value::RawValue;
use crate::EventContent;
/// A wrapper around `Box<RawValue>`, 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<RawValue>`, 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<T> {
json: Box<RawValue>,

View File

@ -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<UInt>,
}