Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sentence more clear #84

Merged
merged 1 commit into from
Sep 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading