Fix intra_doc_link_resolution_failure warnings
This commit is contained in:
parent
046668466c
commit
1aed6ab52b
@ -12,8 +12,8 @@ use serde_json::value::RawValue;
|
|||||||
|
|
||||||
use crate::EventContent;
|
use crate::EventContent;
|
||||||
|
|
||||||
/// A wrapper around `Box<RawValue>`, to be used in place of event [content] [collection] types in
|
/// A wrapper around `Box<RawValue>`, to be used in place of event \[content\] \[collection\] types
|
||||||
/// Matrix endpoint definition to allow request and response types to contain unknown events in
|
/// 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`.
|
/// addition to the known event(s) represented by the generic argument `Ev`.
|
||||||
pub struct EventJson<T> {
|
pub struct EventJson<T> {
|
||||||
json: Box<RawValue>,
|
json: Box<RawValue>,
|
||||||
|
@ -23,7 +23,7 @@ ruma_api! {
|
|||||||
#[ruma_api(path)]
|
#[ruma_api(path)]
|
||||||
pub user_id: UserId,
|
pub user_id: UserId,
|
||||||
#[ruma_api(query)]
|
#[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")]
|
#[serde(skip_serializing_if = "Vec::is_empty")]
|
||||||
pub ver: Vec<UInt>,
|
pub ver: Vec<UInt>,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user