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
{{ message }}
This repository has been archived by the owner on Sep 24, 2020. It is now read-only.
FWIW, a pattern I have used (a stopgap until we get better Result support in Rust proper) is to stash an error reason on the decoder struct, and then check for it in the main decoder loop (to skip future decodings that will likely fail).
Instead of failing, return a result from
from_toml
, so it can be reported properly. We're usingrust-toml
in Cargo, and this is a blocker for us 😦The text was updated successfully, but these errors were encountered: