Skip to content

Commit 46a1659

Browse files
committed
Add playground hash instructions to contributing.md
1 parent eaa300a commit 46a1659

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CONTRIBUTING.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,9 @@ Here is what I run:
99
1010
$ node_modules/.bin/gitbook build && rm -rf gitbook styles && mv _book/* .
1111
-->
12+
13+
If your contribution touches example code inside a <code>```rust</code> code
14+
block which has a `!PLAYGROUND` on the previous line, the hash on that line
15+
needs to be updated by pasting the new code into play.rust-lang.org, clicking
16+
Share, and grabbing the new hash from the generated "Permalink to the
17+
playground" link.

0 commit comments

Comments
 (0)