Skip to content

Commit

Permalink
Make sentence more clear (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanders41 authored Sep 24, 2023
1 parent abcd8fb commit 9d3ce45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tutorial/json-editor/main.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ important that we handle our error in such a way that we can call this last piec
{{#include ./ratatui-json-editor-app/src/main.rs:final_print}}
```

The if statement at the end of boilerplate checks if the `run_app` function errored. If `run_app`
The if statement at the end of boilerplate checks if the `run_app` function errored, or if it
returned an `Ok` state. If it returned an `Ok` state, we need to check if we should print the json.

If we don't call our print function before we call `execute!(LeaveAlternateScreen)`, our prints will
Expand Down

0 comments on commit 9d3ce45

Please sign in to comment.