Re:Rust Language Cheat Sheet
by nlunbeck on Thursday August 31, 2023 @12:27PM
(#37339780)
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.
Re:Rust Language Cheat Sheet
by goku12 on Friday September 01, 2023 @01:15AM
(#37347065)
> 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.
https://news.ycombinator.com/from?site=cheats.rs
Is it just me or the output PDF has quite a bit of broken pages (eg after Working with Types section)?
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/