It would be great to see another article that discusses these and others (e.g. `impl AsRef<str>`), why they're useful, and when they're worth using.
It would be great to see another article that discusses these and others (e.g. `impl AsRef<str>`), why they're useful, and when they're worth using.
When you take the time to learn Rust, you begin to understand the reasons for these design decisions. Remember that Rust provides automatic memory management without garbage collection, and that requires re-thinking a few things.
When you take the time to learn Rust, you begin to understand the reasons for these design decisions. Remember that Rust provides automatic memory management without garbage collection, and that requires re-thinking a few things.