-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Rename UDP method. #15360
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
Comments
Wow. Yet another reason for me to get a spell check plugin! |
I would've attached a pull request, but I wasn't sure if a deprecated attribute was needed since this involves a rename of a method. |
I think it's ok to rename this method with |
Or a mechanical keyboard if you haven't one. ;) |
#15361 is merged, so is it fixed now? |
Yep, looks like it. (Thanks @jbcrail!) |
|
…rent-types, r=HKalbasi Fixup path fragments upon MBE transcription Fixes rust-lang#14367 There are roughly two types of paths: paths in expression context, where a separator `::` between an identifier and its following generic argument list is mandatory, and paths in type context, where `::` can be omitted. Unlike rustc, we need to transform the parsed fragments back into tokens during transcription. When the matched path fragment is a type-context path and is transcribed as an expression-context path, verbatim transcription would cause a syntax error. This PR fixes up path fragments by inserting `::` to make sure they are syntactically correct in all contexts. Note that this works because expression-context paths are a strict superset of type-context paths.
In src/libstd/io/net/udp.rs on line 168,
set_broadast
should be renamed toset_broadcast
.The text was updated successfully, but these errors were encountered: