Hacker News new | past | comments | ask | show | jobs | submit login
Rust Language Cheat Sheet (cheats.rs)
47 points by cellover on Aug 30, 2023 | hide | past | favorite | 5 comments



This has been posted a number of times before with some good discussion- but it’s been a few years.

https://news.ycombinator.com/from?site=cheats.rs


Thanks for sharing it!


I love the cheat sheet format for programming language guides. Hoping this becomes more of a trend. It's nice not having to click through dozens of pages when following a guide.


It looks really great!

Is it just me or the output PDF has quite a bit of broken pages (eg after Working with Types section)?


> Is it just me or the output PDF has quite a bit of broken pages

Nope! The breaks are really there. I guess they converted the HTML to PDF somehow and it didn't work as expected. However, in case you need it offline, the source [1] is written for zola [2] - a single-binary static site generator (of course written in Rust). You can clone the repo and run `zola serve` in it. It renders quite well.

[1] https://github.com/ralfbiedert/cheats.rs/

[2] https://www.getzola.org/




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: