You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-07-02 05:04: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.
|
// This triggers an error at runtime.
|
||||||
// let other = cell.borrow();
|
// let other = cell.borrow();
|
||||||
// println!("{}", *other);
|
// println!("{}", other);
|
||||||
}
|
}
|
||||||
|
|
||||||
println!("{cell:?}");
|
println!("{cell:?}");
|
||||||
|
Reference in New Issue
Block a user