Hacker News new | ask | show | jobs
by kam 2446 days ago
> you can't initialize some const x: SomeStruct with a function call.

You can if it's a `const fn`. The set of features you can use in `const` is small but growing.