mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-14 04:56:49 +00:00
Clarify a comment.
`reverse_encode` isn't necessary to please the borrow checker, it's to match the ordering done by `reverse_decode`.
This commit is contained in:
parent
bc70d0db92
commit
9a785e0aa5
@ -176,7 +176,7 @@ macro_rules! with_api {
|
||||
}
|
||||
|
||||
// FIXME(eddyb) this calls `encode` for each argument, but in reverse,
|
||||
// to avoid borrow conflicts from borrows started by `&mut` arguments.
|
||||
// to match the ordering in `reverse_decode`.
|
||||
macro_rules! reverse_encode {
|
||||
($writer:ident;) => {};
|
||||
($writer:ident; $first:ident $(, $rest:ident)*) => {
|
||||
|
Loading…
Reference in New Issue
Block a user