Update doc comment

This commit is contained in:
Jonas Platte 2019-11-15 20:37:29 +01:00
parent 5c202dac49
commit fa9ec7f145
No known key found for this signature in database
GPG Key ID: 7D261D771D915378

View File

@ -100,7 +100,7 @@ mod api;
/// There are also a few special attributes available to control how the struct is converted 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 `String`.