|
|
|
|
|
by Manishearth
3336 days ago
|
|
Not necessarily. This isn't a question with a single answer within the community; there are reasons to tightly scope unsafe, and there are reasons to scope it to the full extent of unsafe-affecting invariants. Scope your unsafe however you want, but check the invariants when auditing, and make sure they don't escape the module. |
|