Fix links in docs
This commit is contained in:
parent
bd9c1c87b6
commit
44a0bebd09
@ -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;
|
||||
|
@ -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>,
|
||||
}
|
||||
|
@ -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>,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user