Rocket/docs/guide
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
..
00-introduction.md Reorganize and upgrade markup in site docs. 2024-02-28 23:41:02 -08:00
01-upgrading.md Reorganize and upgrade markup in site docs. 2024-02-28 23:41:02 -08:00
02-quickstart.md Link directly to GitHub repo in quickstart guide. 2025-08-31 18:39:36 +02:00
03-getting-started.md Reorganize and upgrade markup in site docs. 2024-02-28 23:41:02 -08:00
04-overview.md Reorganize and upgrade markup in site docs. 2024-02-28 23:41:02 -08:00
05-requests.md Fix typo in requests guide: 'once' -> 'one'. 2025-08-31 18:38:00 +02:00
06-responses.md Improve wrapping responders guide section. 2024-08-28 10:47:20 -07:00
07-state.md Reorganize and upgrade markup in site docs. 2024-02-28 23:41:02 -08:00
08-fairings.md Reorganize and upgrade markup in site docs. 2024-02-28 23:41:02 -08:00
09-testing.md Rename 'Rocket::configure()' to 'reconfigure()'. 2024-04-25 14:47:43 -07:00
10-configuration.md Fix minor typos in guide and docstring 2024-10-21 20:51:58 -04:00
11-deploying.md Fix copies in Dockerfile in deploying guide. 2025-08-31 18:37:54 +02:00
12-pastebin.md Update pastebin example to avoid new gen reserved keyword; couple of typo fixes (#2975) 2025-12-28 12:27:38 -06:00
13-conclusion.md Add deploying guide. 2024-04-25 20:03:44 -07:00
14-faq.md Add deploying guide. 2024-04-25 20:03:44 -07:00
index.md Reorganize and upgrade markup in site docs. 2024-02-28 23:41:02 -08:00