It skips building everything but still checks your code for any compilation errors!
You can also use cargo watch to automatically run cargo check!
#RustTricks #Rust30by30 #Day8
It skips building everything but still checks your code for any compilation errors!
You can also use cargo watch to automatically run cargo check!
#RustTricks #Rust30by30 #Day8
Rust doesn't have null values, but it does have Option
This lets the compiler help check for those pesky "null" cases for you, and make sure you handle the Option::None case!
#RustTricks #Rust30by30 #Day9
Rust doesn't have null values, but it does have Option
This lets the compiler help check for those pesky "null" cases for you, and make sure you handle the Option::None case!
#RustTricks #Rust30by30 #Day9
Be careful though, for Strings field, the default implementation will create an empty string!
#RustTricks #Rust30by30 #Day10
Be careful though, for Strings field, the default implementation will create an empty string!
#RustTricks #Rust30by30 #Day10