Fix outdated doc comment

This commit is contained in:
Jonas Platte 2019-11-11 22:28:24 +01:00
parent e5a3027b3b
commit e8858f119d
No known key found for this signature in database
GPG Key ID: 7D261D771D915378

View File

@ -121,7 +121,7 @@ mod api;
/// There is also a special attribute available to control how the struct is created from 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 response.
/// The value must implement `AsRef<str>`.
/// Generally this is a `String`.