You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-07-05 14:10:29 +02:00
Remove unnecessary deref operation in refcell.md
This commit is contained in:
@ -23,7 +23,7 @@ fn main() {
|
||||
|
||||
// This triggers an error at runtime.
|
||||
// let other = cell.borrow();
|
||||
// println!("{}", *other);
|
||||
// println!("{}", other);
|
||||
}
|
||||
|
||||
println!("{cell:?}");
|
||||
|
Reference in New Issue
Block a user