Skip to content

Commit a5b2db8

Browse files
authored
hide implementation macros from docs (#12)
1 parent 3b961d2 commit a5b2db8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/macros/impl_.rs

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ use tracing_opentelemetry::OpenTelemetrySpanExt;
1616
pub use crate::__tracing_span as tracing_span;
1717

1818
#[macro_export]
19+
#[doc(hidden)]
1920
macro_rules! __tracing_span {
2021
(parent: $parent:expr, $level:expr, $format:expr, $($($arg:ident = $value:expr),+)?) => {{
2122
// bind args early to avoid multiple evaluation
@@ -209,6 +210,7 @@ pub fn export_log_span(
209210
}
210211

211212
#[macro_export]
213+
#[doc(hidden)]
212214
macro_rules! __json_schema {
213215
($($($args:ident),+)?) => {
214216
concat!("{\
@@ -223,6 +225,7 @@ macro_rules! __json_schema {
223225
}
224226

225227
#[macro_export]
228+
#[doc(hidden)]
226229
macro_rules! __schema_args {
227230
($arg:ident, $($args:ident),+) => {
228231
// this is done recursively to avoid a trailing comma in JSON :/

0 commit comments

Comments
 (0)