|
|
|
|
|
by mirashii
103 days ago
|
|
It is a measure of the intended level of care that the users of your interface have to take. If there's no unsafe in the interface, then that implies that the library has only provided safe interfaces, even if it uses unsafe internally, and that the interface exposed enforces all necessary invariants. It is absolutely a useful distinction on whether your users need to deal with unsafe themselves or not. |
|