Vadim Petrochenkov

Results 344 comments of Vadim Petrochenkov

Well, not `allow` specifically, something else. `allow` is supposed to be placed on the location where something suspicious happens, e.g. a FFI-unsafe type is used in FFI (i.e. `fn rdb_read_page`...

IIRC, there was an RFC proposing `unsafe` as an unary operator (with the same way as `box EXPR` or `- EXPR`) a few years ago, but it was rejected back...

>why the unsafe operation itself is not complex enough to be on its own line. Quite often the unsafe operation is just a call to a FFI function, for example.