Skip to content

Commit 6e40314

Browse files
committed
auto merge of #5015 : mitsuhiko/rust/doc-fix-stringify, r=catamorphism
Fixed a typo in the documentation that points to the wrong macro.
2 parents 24603af + 99c4de7 commit 6e40314

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/rust.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ This requirement most often affects name-designator pairs when they occur at the
549549

550550
* `log_syntax!` : print out the arguments at compile time
551551
* `trace_macros!` : supply `true` or `false` to enable or disable printing of the macro expansion process.
552-
* `ident_to_str!` : turn the identifier argument into a string literal
552+
* `stringify!` : turn the identifier argument into a string literal
553553
* `concat_idents!` : create a new identifier by concatenating the arguments
554554

555555

0 commit comments

Comments
 (0)