Crystal Durham
Crystal Durham
Note that `const_eval_select` is *explicitly UB* if there is any difference in the behavior of the const and nonconst arms. But yes, since it's not possible at the moment to...
(The moment the code uses `core::intrinsics` is when it goes outside of the scope I'm comfortable reviewing. I'm absolutely not comfortable making an argument for the soundness of using `const_eval_select`,...
Roughly, mutability behind an indirection (`&mut`) is unstable. `&Cell` presents the same questions as `&mut`, so is also unstable. In theory, what is actually needed/desired to be gated is doing...
This is likely that `Cow` needs [`#[may_dangle]`](https://github.com/rust-lang/rust/issues/34761). I'm not 100% that this is sound, though; at a minimum it adds the requirement for the reconstructed owner to respect the `#[may_dangle]`...
The reason `std`'s `Cow` works is that it doesn't have a manual `Drop` implementation. This is for-dropck equivalent to each of its generic parameters being marked `#[may_dangle]` iff all fields...
`impl const Trait` is a long way from being stable, so this is probably a bit premature :)
That's this doc test: https://github.com/maciejhirsz/beef/blob/175938aeeb2bf82f365ab9852f514c9d29d7adba/src/lib.rs#L26-L34 The third assert is incorrect on 32 bit targets, since 32 bit targets reexport the 3-usize Cow (#40). This is nonfatal, but should definitely still...
This is, strictly speaking, a breaking change, since on 32 bit targets `lean::Cow` switches from supporting `u32::MAX` elements to `u16::MAX` elements. (On 16 bit pointer targets, it goes from `u16::MAX`...
While I'm not a user of assistive technology, I want to bring up a point: I think "implementing TTS" is the wrong way of looking at the problem. Someone using...
I haven't really tried using semverver myself either, so I won't be much help there unfortunately. But what I think is more worth documenting is the high-level differences implied by...