- Hi.
Welcome to Lesson Eight.
This lesson is all about functions,
and how you can pass parameters and return values.
The first three sections of the lesson
explain how you can pass parameters into function.
You can pass by value, by reference,
or by mutable reference.
The last three sections of the lesson
explain how you can return from a function.
Again, you can return by value, by reference,
or by mutable reference.
During the lesson, we look at the syntax for each scenario,
and we'll also discuss the implications
in terms of object ownership and the Rust borrow checker.