-
-
Notifications
You must be signed in to change notification settings - Fork 271
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
added repos/list_contributors #500
Conversation
@XAMPPRocky This workflow requires approval from a maintainer. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be nice if you added a test as well.
} | ||
|
||
/// Set to 1 or true to include anonymous contributors in results. | ||
pub fn anon(mut self, include_anon: impl Into<bool>) -> Self { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dumb question: does it matter that these aren't &mut self
? It seems like you'd want this to be a reference, no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here we consume self
and then return it, as a part of a builder pattern.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That makes sense, sorry I missed it the first go-round.
This looks great, I can't wait to use it! |
@XAMPPRocky This workflow requires approval from a maintainer 😇 |
Thank you for your PR, and congrats on your first contribution! 🎉 |
resolving #490