Old slides had this example: https://github.com/ferrous-systems/teaching-material/blob/main/presentations/ownership-borrowing-in-brief/5.rs Some kind of example showing how mixed shared/exclusive references are not allowed would be useful.
Old slides had this example: https://github.com/ferrous-systems/teaching-material/blob/main/presentations/ownership-borrowing-in-brief/5.rs
Some kind of example showing how mixed shared/exclusive references are not allowed would be useful.