3 ms·
The restriction in C# comes from its ability to reference stack allocated memory. I'm not familiar with Rust but it probably figures it out based on the lifetim
by Rohansi 1y ago
The restriction in C# comes from its ability to reference stack allocated memory. I'm not familiar with Rust but it probably figures it out based on the lifetime of T.
- Measter 1y agoIt's not the lifetime of T, but the lifetime of whatever is storing T.