Yinon Burgansky
MModular
•Created by Yinon Burgansky on 3/29/2024 in #questions
Returning a reference from a factory
I know that reference and lifetimes are still being worked on,
but I was wondering if it will be possible to return a reference from a factory function, e.g.:
I think that it's not possible in Rust, it would be nice to know if something like this will be possible in Mojo.
10 replies