- Hello, again.
Welcome to Lesson Seven.
In this lesson, we're going to take a look
at a concept called "borrowing," which is effectively
where you take a reference to an object
without claiming ownership.
We'll begin with some simple examples of borrowing,
so you can understand the concepts and the syntax.
Then we discuss the Rust borrow checker,
which is a part of the compiler
that ensures you follow the rules of borrowing correctly.
After that, we'll take a look
at string slices and array slices.
A string slice is like a reference
into an existing slice, like a (indistinct),
and an array slice is like a reference
into an existing array.