You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: unify all the rb_sys uses in a single 'use' statement
No functional changes.
The previous division into several 'use' blocks was entirely unnecesary, and the
comments - misleading and useless.
Example 1:
// Types from rb_sys bindings
!!! But these weren't the only types from rb_sys. There was no reason why
these types were separated from the others !!!
Example 2:
// Use event hook flags enum from rb_sys
use rb_sys::rb_event_hook_flag_t;
!!! This comments the obvious and is an entirely useless comment. Also, there
are plenty of other types and enums imported from rb_sys, which do not
feature this comment. This enum is not special in any way. !!!
0 commit comments