/explore
|
You are here |
dystroy.org | ||
| | | | |
ncona.com
Unrecoverable errors These errors are a sign that the developer made a mistake. An example of this, could be trying to access an index that is out of bounds. For example: 1 2 3 4 5 6 7 8 fn get_number() -> usize { return 5; } fn main() { let numbers = [1, 2]; println!( |
|
| | | | | ||
| | | | |
cprimozic.net
[AI summary] The article discusses creating a Rust procedural macro to automate the process of populating struct fields from a HashMap, reducing redundant code. |
|
| | | | | ||
| | | | |
lunareclipse.zone
A little piece of code I didn't find a use for but I thought might be useful for someone else. |
|
| | | | | ||
| | | | |
smallcultfollowing.com
[AI summary] The author discusses design challenges and potential solutions for implementing async functions in dynamic traits in Rust, proposing a hybrid approach that combines associated types for static dispatch and Box for dynamic dispatch. |
|
| | | |||