From 86c29ac5207bdfb9ee120887eb16911bfa59dbbc Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Fri, 25 Mar 2022 00:08:49 -0700 Subject: [PATCH] Remove part about concat! from doc comment example --- src/lib.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index cb3027e..4e5b46d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -389,14 +389,6 @@ pub mod spanned; /// } /// ``` /// -/// Macro calls in a doc attribute are not valid syntax: -/// -/// ```compile_fail -/// quote! { -/// #[doc = concat!("try to interpolate: ", stringify!(#ident))] -/// } -/// ``` -/// /// Instead the best way to build doc comments that involve variables is by /// formatting the doc string literal outside of quote. ///