Closed juliankrieger closed 3 days ago
Hi! Thanks for opening your first issue here! :smile:
Try to use String
, since &String
(or &str
) is only a grammar sugar and does not really prevent copying - Dart iirc does not have zero-copy for that.
Close since this seems to be solved, but feel free to reopen if having any quesitons!
Describe the bug
When using &String in an impl Fn, I get the following error.
Steps to reproduce
Logs
frb-generated.rs
frb-generated.dart