Skip to content

Commit

Permalink
Merge pull request #160 from serde-rs/contributing
Browse files Browse the repository at this point in the history
Add playground hash instructions to contributing.md
  • Loading branch information
dtolnay authored Oct 19, 2023
2 parents eaa300a + 46a1659 commit d6a9d5e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,9 @@ Here is what I run:
$ node_modules/.bin/gitbook build && rm -rf gitbook styles && mv _book/* .
-->

If your contribution touches example code inside a <code>```rust</code> code
block which has a `!PLAYGROUND` on the previous line, the hash on that line
needs to be updated by pasting the new code into play.rust-lang.org, clicking
Share, and grabbing the new hash from the generated "Permalink to the
playground" link.

0 comments on commit d6a9d5e

Please sign in to comment.