HaoYang670 commented on issue #2362:
URL: https://github.com/apache/arrow-rs/issues/2362#issuecomment-1208710360
> As it is safe paths, I think that the responsibility is on users hands.
Sorry, I don't 100% agree with you.
For safe (soundness) path, the responsibility in on the software side.
Software should make sure all things it allows users to do is valid, otherwise,
it is unsound.
For unsafe (completeness) path, the responsibility is on users hands,
however. That is why we often see code like this in our crate:
```rust
// Soundness: users should make sure ...
unsafe {fn xxx_unchecked()}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]