Settings

Theme

Rust Language Cheat Sheet

cheats.rs

47 points by cellover 2 years ago · 5 comments

Reader

jasonjmcghee 2 years ago

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

nlunbeck 2 years ago

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.

Corsome 2 years ago

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)?

  • goku12 2 years ago

    > 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/

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection