diff --git a/ruma-api-macros/src/lib.rs b/ruma-api-macros/src/lib.rs index 586e0014..6249f4f4 100644 --- a/ruma-api-macros/src/lib.rs +++ b/ruma-api-macros/src/lib.rs @@ -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`. /// Generally this is a `String`.