Simplify MutationCompatible impls by joshlf · Pull Request #2877 · google/zerocopy
Previously, we allowed for `Src: Read<A, R>` and `Dst: Read<A, S>` for different `R` and `S` "reason" parameters. This is an unnecessary degree of freedom (two types are only ever `Read<A>` for a particular `A` for the same reason – either because `A = Exclusive` or because both types implement `Immutable`). This degree of freedom required more verbose type annotations by callers. gherrit-pr-id: G3cc35009cf6e17a935df0ae0c3c37dcc389e2f9f
This was referenced
Jan 8, 2026
joshlf
deleted the
G3cc35009cf6e17a935df0ae0c3c37dcc389e2f9f
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters