Skip to content

Commit d6a9d5e

Browse files
authored
Merge pull request #160 from serde-rs/contributing
Add playground hash instructions to contributing.md
2 parents eaa300a + 46a1659 commit d6a9d5e

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)