-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
todo! documentation should mention optional format arguments #116130
Copy link
Copy link
Closed
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsT-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsT-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Location
https://doc.rust-lang.org/std/macro.todo.html
Summary
The documentation of the
todo!macro currently does not mention at all that it also accepts optional format arguments, for example:Other macros like
unimplemented!at least have the following sentence under "Panics":So maybe it would be good to do the following?