From 4698a3fb8a35994f5532d208ad060f2985ed1427 Mon Sep 17 00:00:00 2001 From: Yoshiki Matsuda Date: Wed, 4 May 2022 00:53:46 +0900 Subject: [PATCH] ignore the doctest for map --- src/librustdoc/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustdoc/lib.rs b/src/librustdoc/lib.rs index cd196a0184799..ef8c766180b8a 100644 --- a/src/librustdoc/lib.rs +++ b/src/librustdoc/lib.rs @@ -96,7 +96,7 @@ use crate::passes::collect_intra_doc_links; /// /// Example: /// -/// ``` +/// ```ignore(cannot-test-this-because-non-exported-macro) /// let letters = map!{"a" => "b", "c" => "d"}; /// ``` ///