From fa9ec7f14591388a0023870f0050322def3c817f Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Fri, 15 Nov 2019 20:37:29 +0100 Subject: [PATCH] Update doc comment --- ruma-api-macros/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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`.