You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rust-cfg-if/0001-Document-macro.patch

30 lines
776 B

From 5cd2f3066c344415c61e0bd91f23820ec413e49e Mon Sep 17 00:00:00 2001
From: Alex Crichton <alex@alexcrichton.com>
Date: Fri, 11 Jan 2019 09:02:32 -0800
Subject: [PATCH] Document macro
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Jan Staněk <jstanek@redhat.com>
---
src/lib.rs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/lib.rs b/src/lib.rs
index ff144f6..e867e65 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -32,6 +32,8 @@
#![deny(missing_docs)]
#![cfg_attr(test, deny(warnings))]
+/// The main macro provided by this crate. See crate documentation for more
+/// information.
#[macro_export(local_inner_macros)]
macro_rules! cfg_if {
// match if/else chains with a final `else`
--
2.20.1