2 ms·
I'm observing this discussion as an outsider and can't help but wonder: maybe this could be solved by renaming the macro in question so that it contains "unsafe
by atq2119 6y ago
I'm observing this discussion as an outsider and can't help but wonder: maybe this could be solved by renaming the macro in question so that it contains "unsafe" in its name?
Whoever invokes the macro asserts that doing so is sound / cannot cause UB, and having "unsafe" in the macro name draws attention to that in the same way that the unsafe keyword itself does.
- steveklabnik 6y agoThat is what in fact is being proposed by the author of this library (well the one this library depends on) elsewhere in this thread. I think it's a great idea.