-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Minor clean-up #45
Minor clean-up #45
Conversation
Ah the life of only having nightly installed on this desktop has gotten the best of me; |
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.
Thank you! These are nice changes! ❤️
I take note of from_iter
and to_vec
✍️
2f51952
to
786ac31
Compare
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.
Awesome. Thank you! 🎉
|
||
string | ||
use std::iter::FromIterator; | ||
String::from_iter(self.0.iter()) |
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.
Note to anyone looking in from the changelog: this could have been self.0.iter().collect()
:)
micro-refactoring intensifies
This PR utilizes std's impls for text_input and makes use of
mem::take
in the todo example.