1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-05-22 02:10:25 +02:00

Remove unnecessary deref operation in refcell.md

This commit is contained in:
Nicole LeGare 2025-05-21 17:00:05 -07:00
parent c3450e7947
commit 521f1a0403

View File

@ -23,7 +23,7 @@ fn main() {
// This triggers an error at runtime.
// let other = cell.borrow();
// println!("{}", *other);
// println!("{}", other);
}
println!("{cell:?}");