Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to use return type in tests #76

Merged
merged 6 commits into from
Oct 12, 2023
Merged

Add option to use return type in tests #76

merged 6 commits into from
Oct 12, 2023

Conversation

foresterre
Copy link
Owner

Especially useful for types which use the try operator, ? i.e. Result or Option, such that you can use ? instead of unwrapping everything. Accepted by the #[test] macro.

closes #75

@foresterre foresterre enabled auto-merge (rebase) October 12, 2023 22:11
Especially useful for types which use the try operator, `?` i.e. Result or Option, such that you can use ? instead of unwrapping everything. Accepted by the #[test] macro
 A logical choice now, since our dependencies also require Rust 1.56, for edition 2021, and in a previous commit, the MSRV was set to 1.56 already.
@foresterre foresterre merged commit 07159e8 into main Oct 12, 2023
@foresterre foresterre deleted the return_type branch October 12, 2023 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Return type is not variable
1 participant