1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-06-16 22:27:34 +02:00

Various small fixes (#1556)

Plus one more substantial comment on casting.
This commit is contained in:
Marshall Pierce
2023-12-05 16:06:42 -07:00
committed by GitHub
parent 8f9902cc3e
commit 6c5061bb90
16 changed files with 23 additions and 21 deletions

View File

@ -37,6 +37,6 @@ fn main() {
* Use `Rc::strong_count` to check the reference count.
* `Rc::downgrade` gives you a *weakly reference-counted* object to
create cycles that will be dropped properly (likely in combination with
`RefCell`, on the next slide).
`RefCell`).
</details>