Remove lock macros from documentation
These macros should not be public members of the library, and may be
removed in the future. Mark the doc for these as "hidden" in order to
remove them.
@@ -36,6 +36,7 @@ extern crate metrics;
#[macro_use]
pub mod tap;
+#[doc(hidden)]
#[macro_export]
macro_rules! rwlock_read_unwrap {
($lock:expr) => {
@@ -46,6 +47,7 @@ macro_rules! rwlock_read_unwrap {
};
}
+#[doc(hidden)]
#[macro_export]
macro_rules! rwlock_write_unwrap {
($lock:expr) => {
@@ -56,6 +58,7 @@ macro_rules! rwlock_write_unwrap {
};
}
+#[doc(hidden)]
#[macro_export]
macro_rules! mutex_lock_unwrap {
($lock:expr) => {
