4 ms·
can't it be solved by negative traits? isn't the problem that rw is still r, so passes checks for both? can't you make one rw and the other r(-w)?
by konstantinua00 1y ago
can't it be solved by negative traits?
isn't the problem that rw is still r, so passes checks for both?
can't you make one rw and the other r(-w)?
- SkiFire13 1y agoNote that negative traits are not for "this trait is not implemented" (i.e. a missing `impl Trait for Type`) but instead for "this trait is guaranteed to not be implemented" (i.e. `impl !Trait for Type`)
- konstantinua00 1y agoaka that's what read-only is for write?