SIGN IN SIGN UP
rust-lang / rustlings UNCLAIMED

:crab: Small exercises to get you used to reading and writing Rust code!

0 0 51 Rust

strings4: remove From-based conversion

To understand From-based conversion, an understanding of traits is
required, which we teach in a later chapter. The From trait specifically
is taught in one of the conversion exercises. So, we can safely remove
it here without users missing out on learning something important.

A specific source of confusion for users was a warning that the
conversion is useless, which appeared when using the `string_slice`
function for the expression with `.into()`. closes #2190
R
Remo Senekowitsch committed
b18a8c3036c962d3a09bd04d0537ad86c046b3f7
Parent: 60b369a