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
book: Add chapter about todo_app_2 #620
Conversation
9d23bd7
to
e15c3c5
Compare
<span class="filename">Filename: listings/todo_app/2/window/mod.rs</span> | ||
|
||
```rust ,no_run,noplayground | ||
{{#rustdoc_include ../listings/todo_app/2/window/mod.rs:restore_data}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also lines a bit too long
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I also don't like this.
I looked a bit into enforcing a shorter line length with rust-fmt only for the book (so I don't annoy @bilelmoussaoui too much).
It's possible by adding an extra rustfmt.toml in the book dir and adding boilerplate to the CI.
Not sure though if that breaks then with e.g. IDE formatting.
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
52429bf
to
8a61b6f
Compare
This PR adds a chapter where the To-Do app learns the ability to filter tasks and keep tasks between sessions.