|
|
|
|
|
by Eerie
3280 days ago
|
|
>Unless you mean that some data is shared, but cannot be modified, but this would be semantically identical to not sharing anything. That's the gist of Rust's borrow checker. Shared data can't be modified (unless you use a Mutex or something similar, but then you need to acquire a lock, so data you can mutate is not shared). |
|