Practicing Rust based on the Book: 'Learning Rust with Entirely Too Many Linked Lists'
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

NOTES.md 540B

Lessons from Stack 1

When you need to do the ol’ switcheroo with some memory mem::replace comes in useful.

Lessons from Stack 2

take() is handy, read more about this. Sometimes you just have to get your hands dirty and do some lifetimes, just a fact of life, get used to it son. Revise some of these impl types, to understand better how they function with std library collections.

Lessons from Persistent Stack

and_then() allows you to map over a value returning an option. Useful for when the type mapping is an option.