5 ms·
This is tedious in Rust when initializing a struct which has nested structs. A language which has type inference at all should at least be consistent about it a
by flohofwoe 2y ago
This is tedious in Rust when initializing a struct which has nested structs. A language which has type inference at all should at least be consistent about it and allow to not mention the type when it can be inferred by the compiler.