Copy-paste fix pattern
fn main() {
println("app starts here")
}
ClosedBit Docs
ClosedBit error docs
Entry point problem. An app package did not define a usable main function, or a library tried to define the app entry point.
An app package did not define a usable main function, or a library tried to define the app entry point.
Apps should define fn main. Libraries should export helpers and avoid defining main.
fn main() {
println("app starts here")
}