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
We could define a custom trait (see how hashbrown does this) to support it prior to the unstable trait landing. This would (at the very least) allow testing allocation fallibility1, if nothing else.
That said, this is a non-trivial amount of work that seems a bit pointless at the moment.
Footnotes
Admittedly, the amount of code that it would allow testing is very small, and the code in question is very straightforward — just a few lines which do nothing but return errors to their caller. ↩
The text was updated successfully, but these errors were encountered:
We could define a custom trait (see how hashbrown does this) to support it prior to the unstable trait landing. This would (at the very least) allow testing allocation fallibility1, if nothing else.
That said, this is a non-trivial amount of work that seems a bit pointless at the moment.
Footnotes
Admittedly, the amount of code that it would allow testing is very small, and the code in question is very straightforward — just a few lines which do nothing but return errors to their caller. ↩
The text was updated successfully, but these errors were encountered: