api: Rewrap doc comment

This commit is contained in:
Jonas Platte 2021-08-22 22:14:32 +02:00
parent f3e52e4bc3
commit 35a231e20c
No known key found for this signature in database
GPG Key ID: 7D261D771D915378

View File

@ -78,10 +78,9 @@ use ruma_identifiers::UserId;
/// ///
/// ## Request /// ## Request
/// ///
/// The request block contains normal struct field definitions. /// The request block contains normal struct field definitions. Doc comments and attributes are
/// Doc comments and attributes are allowed as normal. /// allowed as normal. There are also a few special attributes available to control how the
/// There are also a few special attributes available to control how the struct is converted /// struct is converted into an `http::Request`:
/// into a `http::Request`:
/// ///
/// * `#[ruma_api(header = HEADER_NAME)]`: Fields with this attribute will be treated as HTTP /// * `#[ruma_api(header = HEADER_NAME)]`: Fields with this attribute will be treated as HTTP
/// headers on the request. The value must implement `AsRef<str>`. Generally this is a /// headers on the request. The value must implement `AsRef<str>`. Generally this is a