Rust Snafu Crate: no method named `fail` found for enum `Error` in the current scope

前端 未结 0 1845
无人及你
无人及你 2021-02-05 14:22

I\'m trying to use the Snafu crate for some basic error handling. In this case, I\'m trying to return an Error when check_value() is given anything but

相关标签:
回答
  • 消灭零回复
提交回复
热议问题