Allow for return types#4
Conversation
Y-Nak
left a comment
There was a problem hiding this comment.
Thanks for this PR! The change looks good to me.
Would you modify a doc comment in dir-test/src/lib.rs so users can know this nice feature?
|
Oh, no. I just remembered that |
|
Rust allows for the |
|
Ah, I'm embarrassed! I didn't know it's just required to implement std::process::Termination for the return type. Alright, your change looks good to me! Thanks! |
|
Okay, I added the relevant documentation! |
|
Thank you! I'll bump up the version. |
Thanks for the great crate! This PR allows return types in test functions (namely for
Result<T>).