Fix links in docs

This commit is contained in:
Jonas Platte 2021-02-08 20:46:57 +01:00
parent bd9c1c87b6
commit 44a0bebd09
No known key found for this signature in database
GPG Key ID: CC154DE0E30B7C67
3 changed files with 5 additions and 5 deletions

View File

@ -195,9 +195,9 @@ use http::Method;
///
/// ## Fallible deserialization
///
/// All request and response types also derive [`Outgoing`][Outgoing]. As such, to allow
/// fallible deserialization, you can use the `#[wrap_incoming]` attribute. For details, see
/// the documentation for [the derive macro](derive.Outgoing.html).
/// All request and response types also derive [`Outgoing`][trait@ruma_serde::Outgoing]. As such,
/// to allow fallible deserialization, you can use the `#[wrap_incoming]` attribute. For details,
/// see the documentation for [the derive macro](derive@ruma_serde::Outgoing).
// TODO: Explain the concept of fallible deserialization before jumping to
// `ruma_serde::Outgoing`
pub use ruma_api_macros::ruma_api;

View File

@ -44,7 +44,7 @@ ruma_api! {
///
/// See [MDN] for the syntax.
///
/// https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition#Syntax
/// [MDN]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition#Syntax
#[ruma_api(header = CONTENT_DISPOSITION)]
pub content_disposition: Option<String>,
}

View File

@ -49,7 +49,7 @@ ruma_api! {
///
/// See [MDN] for the syntax.
///
/// https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition#Syntax
/// [MDN]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition#Syntax
#[ruma_api(header = CONTENT_DISPOSITION)]
pub content_disposition: Option<String>,
}