1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2026-06-15 22:49:21 +02:00
Files
Remo Senekowitsch b18a8c3036 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
2026-05-24 06:23:34 +02:00
..
2026-05-14 23:31:11 +02:00

Exercise to Book Chapter mapping

Exercise Book Chapter
variables §3.1
functions §3.3
if §3.5
primitive_types §3.2, §4.3
vecs §8.1
move_semantics §4.1-2
structs §5.1, §5.3
enums §6, §19.3
strings §8.2
modules §7
hashmaps §8.3
options §10.1
error_handling §9
generics §10
traits §10.2
lifetimes §10.3
tests §11.1
iterators §13.2-4
smart_pointers §15, §16.3
threads §16.1-3
macros §20.5
clippy Appendix D
conversions n/a