All right.
So to wrap up strings, let's talk about string literals.
So as I said, strings and string slices are always going to be a valid UTF eight sequence.
Well, sometimes you might not want a valid UTF eight sequence, and that is where string literals are
going to come into play.
So let's take a quick example of what a string literal might look like.
So we're going to create a variable called rust.
We're going to put double quotes around it, and then we're going to use the backward slash.
And we're going to say, in this case, I'm going to go x 52 x 75.
X 73 and X 74.
So these are all special characters x 52, x 75, 73, 74 and I'm using this backward slash to escape
those special characters.
So let's go ahead and print out.
What we just typed.
Cargo build.
Cargo run.
And we typed out rust, but we did it a super fancy way.
So again, string literals you will want to use when you don't want to have valid UTF eight.