sgued

joined 9 months ago
[โ€“] sgued@programming.dev 4 points 4 months ago

Because when T is !Sized, the layout is different, it looks more like the layout of &[T].

[โ€“] sgued@programming.dev 10 points 4 months ago

This is outdatded. Mutexes don't allocate anymore. That's how Mutex::new can be const.