mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-05-22 18:30:33 +02:00
Remove unnecessary deref operation in refcell.md
This commit is contained in:
parent
c3450e7947
commit
521f1a0403
@ -23,7 +23,7 @@ fn main() {
|
||||
|
||||
// This triggers an error at runtime.
|
||||
// let other = cell.borrow();
|
||||
// println!("{}", *other);
|
||||
// println!("{}", other);
|
||||
}
|
||||
|
||||
println!("{cell:?}");
|
||||
|
Loading…
x
Reference in New Issue
Block a user