Last active
September 10, 2021 15:38
-
-
Save ogxd/137a236dffecf2b0fc7b38cbc287a833 to your computer and use it in GitHub Desktop.
Rust Cheatsheet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//! Prints objects, cool for debugging | |
println!("{:#?}", my_object); | |
//! Empty struct shorthand | |
struct MyStruct; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment