-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
Warning on missing .create()? #112
Comments
@dbr both valid points. care to open a PR? otherwise I'll add it to my list but won't get to it too soon. |
Yep shall do! |
Closed
Is there any chance the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Minor thing, but it can be easy to forget to put the
.create()
call when creating a builder (something I found particularly when usingwith_body()
with multi-lines strings)Perhaps the
impl Drop
could warn about this in some way - e.gAdditionally, adding the
must_use
attribute to the return ofcreate()
may help people avoid forgetting to assign the mocks to objects as per these docsThe text was updated successfully, but these errors were encountered: