Skip to content

Commit 59bdf1b

Browse files
author
Keegan McAllister
committed
Note rustdoc limitation
1 parent 374d690 commit 59bdf1b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

active/0000-pattern-macros.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ This doesn't involve any language changes, but requires writing a complicated pr
4949

5050
The `my_match!` approach is also not very composable.
5151

52+
Another small drawback: `rustdoc` [can't document](https://github.com/kmcallister/rust/blob/af65e3e9824087a472de3fea3c7cb1efcec4550b/src/librustdoc/clean.rs#L1287-L1291) the name of a function argument which is produced by a pattern macro.
53+
5254
# Unresolved questions
5355

5456
None, as far as I know.

0 commit comments

Comments
 (0)