profiler
This commit is contained in:
parent
52e400ca4b
commit
59c80c66e4
5 changed files with 14 additions and 5 deletions
|
|
@ -37,9 +37,6 @@ fn main() -> Result<()> {
|
|||
|
||||
// Create an application.
|
||||
let mut app = App::new(args);
|
||||
if app.should_quit {
|
||||
println!("{}", app.display());
|
||||
}
|
||||
|
||||
// Start the main loop.
|
||||
while !app.should_quit {
|
||||
|
|
@ -49,6 +46,9 @@ fn main() -> Result<()> {
|
|||
app.input(input.trim());
|
||||
}
|
||||
|
||||
// display app final state
|
||||
println!("{}", app.display());
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue