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 Aug 16, 2021. It is now read-only.
(Beginner here, apologies if this is not valid issue.)
This guide example seems not to compile. There's this line: use failure::err_msg;
but the called macro is: return Err(format_err!("Input did not begin with $"));
So should the use statement be: use failure::format_err; ?
(Beginner here, apologies if this is not valid issue.)
This guide example seems not to compile. There's this line:
use failure::err_msg;
but the called macro is:
return Err(format_err!("Input did not begin with
$"));
So should the use statement be:
use failure::format_err;
?Also there's other example, where is used
Could that be replaced with simpler
use failure::Fail;
? Then there would be no need to explicitly addfailure_derive
in Cargo.toml.(As a personal opinion, the guide code could be updated to other new changes, like
extern crate
->use
.)The text was updated successfully, but these errors were encountered: