RustHints
@rusthints
Sharing knowledge about Rust code quality, design patterns, concurrency, security and optimization. This is an unofficial community managed project. #TLDRust
ID: 1176516518080929794
24-09-2019 15:19:56
122 Tweet
965 Followers
24 Following
Another exciting new feature in Rust Language 1.53: Nested or patterns. 🦀✨ This allows you to use the `|` or operator anywhere inside a pattern, instead of only at the top level: Before: Some(A) | Some(B) After: Some(A | B)
✨ Need to quickly plot something in Rust Language? Just import the excellent Matplotlib from Python! 🦀 💛 🐍 📊
The 'anyhow' library by David Tolnay in #rustlang streamlines error handling with a unified Error type. It offers a quick error creation 'anyhow!' macro and context chaining, providing more insight into error origins and aiding debugging. github.com/dtolnay/anyhow
Delve into performance engineering with Brandon Falk streams with #rustlang. Experience content equivalent to advanced professional trainings, all within a dynamic, unscripted setting. A perfect opportunity to unravel and learn advanced topics in a pragmatic context.