-
Notifications
You must be signed in to change notification settings - Fork 8
App
Emerald edited this page Oct 5, 2023
·
2 revisions
The app is dead simple, simply make one, run run() and your program will work!
Example:
fn main() -> Result<(), Box<dyn Error>> {
App::new(100)?.run()
}Warning, I highly recommend not running this example. Without an exit condition, your program is NOT exitable, even with Ctrl+C