ExploreRust Programming Language
Loading...
LEARN

Rust Programming Language

212 cardsNo reviews yet
Edit

A set of flash cards for the Rust programming language, based on the book The Rust Programming Language.

If this helped you learn Rust, consider sending the author a donation. BTC: 1MecLehGEMAPxBmDzTVNNYFHc35NaeZhMm Ko-fi: https://Ko-fi.com/argparse

Unverified Content

Use with discretion, this content may not be accurate or up to date.

Updated

Sample Flashcards

Start a new binary project
`cargo new --bin project_name` Creates a new folder with necessary files
What is lifetime about?
Connecting the lifetime of paramaters with its return values in a function. It's about letting the...
``` let string = String::from("5") let number: u32 = string.parse() // we need to do something here ...
``` let number: u32 = match string.parse() { Ok(num) => num, Err(_) => panic!("fails") } ...
what is "if let"? Make an example using the option type.
A more concise way of doing match, but non-exaustive. It's a bit like the ternary operator in python...

Details

Learners
370
Total Cards
212
Size
99 KB
Version
0.1.0
Last Updated
October 29, 2022

Reviews

User reviews coming soon!

Ready to actually remember these 212 cards?

Download the #1 distraction-free learning app for iOS and Android

5 minutes a day · 90% retention rate · Study anywhere, anytime

Chat with our community

Ask questions, get help, and share with people studying Rust Programming Language and other topics
Join Live Chat
Loading...