This commit is contained in:
Suganthan Madhavan
2025-03-01 19:06:53 -05:00
committed by GitHub
parent 20b8f73684
commit 94079c49af

View File

@ -163,7 +163,7 @@ fn main() {
let t = (String::from("hello"), String::from("world"));
// fill the blanks
let (s1, s2) = t.clone();
let (ref s1, ref s2) = t;
println!("{:?}, {:?}, {:?}", s1, s2, t); // -> "hello", "world", ("hello", "world")
}