Skip to content

Commit afb4915

Browse files
committed
Add docs to maybe_tuple_doc!
1 parent 16a6a41 commit afb4915

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/src/tuple.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ macro_rules! tuple_impls {
103103
}
104104
}
105105

106+
// If this is a unary tuple, it adds a doc comment.
107+
// Otherwise, it hides the docs entirely.
106108
macro_rules! maybe_tuple_doc {
107109
($a:ident @ #[$meta:meta] $item:item) => {
108110
#[cfg_attr(not(bootstrap), doc(tuple_variadic))]

0 commit comments

Comments
 (0)