Borrow Checker
Move, borrow, or clone a value to solve a challenge.
Challenge 1 of 3Score 0 / 3
Read the same String through view and keep message usable.
main.rs
fn main() {
let message = String::from("hello");
let view = /* choose below */;
println!("{view}");
println!("{message}");
}
A shared reference starts with & and lets another binding read the original value.