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
Good catch! Thanks for reporting! I will fix that.
Though, I'd like to point, that the example above is not gonna work anyway because the function passed to with = should return Result<(), Error>.
In case of fs::exists it returns Result<bool, Error>.
Yup I got that too, I made a separate function to check if it exists and is a file 🙃
When opening the issue I reverted to that state and forgot to check if it compiled since I was interested by the macro parsing 🤣
That's my bad
I don't know if the issue name is right or understandable sorry.
I found out that
causes an error at the
io::
.I think the macro should support that.
Current workaround
use std::io::Error as IoError;
🤷The text was updated successfully, but these errors were encountered: