1 00:00:06,570 --> 00:00:07,403 - Hello, again. 2 00:00:07,403 --> 00:00:09,150 Welcome to Lesson Seven. 3 00:00:09,150 --> 00:00:10,740 In this lesson, we're going to take a look 4 00:00:10,740 --> 00:00:13,440 at a concept called "borrowing," which is effectively 5 00:00:13,440 --> 00:00:15,420 where you take a reference to an object 6 00:00:15,420 --> 00:00:17,580 without claiming ownership. 7 00:00:17,580 --> 00:00:19,860 We'll begin with some simple examples of borrowing, 8 00:00:19,860 --> 00:00:22,590 so you can understand the concepts and the syntax. 9 00:00:22,590 --> 00:00:24,750 Then we discuss the Rust borrow checker, 10 00:00:24,750 --> 00:00:26,340 which is a part of the compiler 11 00:00:26,340 --> 00:00:30,270 that ensures you follow the rules of borrowing correctly. 12 00:00:30,270 --> 00:00:31,710 After that, we'll take a look 13 00:00:31,710 --> 00:00:34,740 at string slices and array slices. 14 00:00:34,740 --> 00:00:36,420 A string slice is like a reference 15 00:00:36,420 --> 00:00:39,090 into an existing slice, like a (indistinct), 16 00:00:39,090 --> 00:00:41,010 and an array slice is like a reference 17 00:00:41,010 --> 00:00:42,363 into an existing array.