From e8858f119d4a0edda19385bd54b83be9b374d63d Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Mon, 11 Nov 2019 22:28:24 +0100 Subject: [PATCH] Fix outdated 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 dbcbc4db..586e0014 100644 --- a/ruma-api-macros/src/lib.rs +++ b/ruma-api-macros/src/lib.rs @@ -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`. /// Generally this is a `String`.