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
Fallible functions that also panic is a general API smell. insert_vec_zeroed mirrors std's panicking on index, but doesn't mirror the panicking allocation.
In the next breaking version, I propose that insert_vec_zeroed be made fully fallible by returning Err if position > v.len().
Fallible functions that also panic is a general API smell.
insert_vec_zeroed
mirrorsstd
's panicking on index, but doesn't mirror the panicking allocation.In the next breaking version, I propose that
insert_vec_zeroed
be made fully fallible by returningErr
ifposition > v.len()
.Relevant: #1653
The text was updated successfully, but these errors were encountered: