You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
280: [RFC] blocking/serial: make method naming consistent r=therealprof a=Dirbaio
`blocking::serial::Write`'s methods are named `bwrite_all` and `bflush`.
- the `b` prefix indicates blocking (I guess?). However no other blocking trait method has this prefix.
- the `_all` suffix indicates it writes a slice instead of a single word (I guess?). However, no other trait method that writes a slice has this suffix.
To make them consistent, this PR renames them to `write` and `flush`.
Co-authored-by: Dario Nieuwenhuis <[email protected]>
0 commit comments