Rocket/docs
Daniel Welsh 3a54d079ae
Update pastebin example to avoid new gen reserved keyword; couple of typo fixes (#2975)
Pastebin example uses now deprecated `rand::gen()` which was changed due
to the reserved `gen` keyword in Rust 2024 edition.

Rather than changing dependencies or updating the guide to specify an
older edition, I've updated to use `gen_range` (should be best practice
to avoid an infinitesimal bias anyway). This should work with any
edition.

Also fixed typos I noticed in the CONTRIBUTING doc.

---------

Co-authored-by: Daniel Welsh <danielw2000@gmail.com>
Co-authored-by: Matthew Pomes <matthew.pomes@pm.me>
2025-12-28 12:27:38 -06:00
..
guide Update pastebin example to avoid new gen reserved keyword; couple of typo fixes (#2975) 2025-12-28 12:27:38 -06:00
tests Update pastebin example to avoid new gen reserved keyword; couple of typo fixes (#2975) 2025-12-28 12:27:38 -06:00
LICENSE Reorganize and upgrade markup in site docs. 2024-02-28 23:41:02 -08:00