Step 2
Now we can create our reference with the &
character like this:
let bravo = &alfa;
We'll represent the reference this way where
alfa
still owns the String
but bravo
is connected to it as well.
Now we can create our reference with the &
character like this:
let bravo = &alfa;
We'll represent the reference this way where
alfa
still owns the String
but bravo
is connected to it as well.