1 00:00:06,600 --> 00:00:07,433 - Hi. 2 00:00:07,433 --> 00:00:08,760 Welcome to Lesson Eight. 3 00:00:08,760 --> 00:00:10,530 This lesson is all about functions, 4 00:00:10,530 --> 00:00:13,680 and how you can pass parameters and return values. 5 00:00:13,680 --> 00:00:15,720 The first three sections of the lesson 6 00:00:15,720 --> 00:00:18,300 explain how you can pass parameters into function. 7 00:00:18,300 --> 00:00:20,700 You can pass by value, by reference, 8 00:00:20,700 --> 00:00:22,800 or by mutable reference. 9 00:00:22,800 --> 00:00:24,450 The last three sections of the lesson 10 00:00:24,450 --> 00:00:26,700 explain how you can return from a function. 11 00:00:26,700 --> 00:00:29,700 Again, you can return by value, by reference, 12 00:00:29,700 --> 00:00:31,680 or by mutable reference. 13 00:00:31,680 --> 00:00:35,040 During the lesson, we look at the syntax for each scenario, 14 00:00:35,040 --> 00:00:37,500 and we'll also discuss the implications 15 00:00:37,500 --> 00:00:40,350 in terms of object ownership and the Rust borrow checker.