-
Notifications
You must be signed in to change notification settings - Fork 175
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
Rename write_cmp_bytes to writeable_cmp_bytes #4795
Conversation
If possible I'd like LGTMs from multiple organizations on this function name. |
Note that we chose |
@@ -351,7 +351,7 @@ macro_rules! impl_display_with_writeable { | |||
/// - Equality of string content | |||
/// - Equality of parts ([`*_parts_eq`] only) | |||
/// - Validity of size hint | |||
/// - Reflexivity of `cmp_bytes` | |||
/// - Reflexivity of `cmp_bytes` and order against largest and smallest strings |
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.
nice, I was thinking about adding this
Waiting on ballot results |
This name won the ballot. Merging. |
See #4402, #4741, #4787
I had landed these functions but we never bikeshed their names. We did bikeshed
writeable_length_hint
here, so I'm taking that answer and applying it to this similar function. It should be namedwriteable_cmp_bytes
since it isn't actually writing anything; it's only a function on the Writeable trait.