Closed
Description
Looks like only these signatures are supported currently:
let source = if source
.lines()
.any(|line| line.starts_with("fn main()") || line.starts_with("async fn main()"))
Could we also support pub fn main()
? This would make it easier to develop/debug scripts from the IDE, since currently I keep them all in a cargo project.
Metadata
Metadata
Assignees
Labels
No labels