A userscript to add sharing code in URLs to the Rust Playground.
The new playground now generates the code links, making this userscript unnecessary.
You can run this userscript by installing Tampermonkey, a Userscript extension that supports tons of browser and probably yours. Just go here, and either A) Click "raw" and it should prompt you to install it, or B) copy + paste the code into the "Add New Script" area.
If you use Google Chrome, you may be able to install the userscript without Tampermonkey by going to chrome://extensions
and dragging rust_playground.user.js
to the list.
For Firefox users, Greasemonkey may work also.