Kixunil / genio

A type safe, low level replacement for `std::io`.
60 stars 11 forks source link

The scope of the unsafe block can be appropriately reduced #25

Open cactter opened 2 years ago

Kixunil commented 2 years ago

I favor "these lines may affect safety" interpretation of unsafe rather than "these calls are unsafe" one. If someone edits unsafe block it's more obvious that it needs to be done with care than code outside of unsafe. But I'm aware it has limitations too.