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
Yes, that null byte should not be there. But panic/unwrap() is not the best solution.
Basically, libraries should never call .unwrap(). It took me forever to track this down, since it was a string provided to me, and various libraries swallowed the original error. But the root cause is this:
Yes, that null byte should not be there. But panic/
unwrap()
is not the best solution.Basically, libraries should never call
.unwrap()
. It took me forever to track this down, since it was a string provided to me, and various libraries swallowed the original error. But the root cause is this:Please either transparently remove null bytes, or (better yet) have the trait and implementation pass the error back to the caller.
The text was updated successfully, but these errors were encountered: