-
Notifications
You must be signed in to change notification settings - Fork 41
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
Fixing various issues I found when running through the tutorial #68
Conversation
@@ -11,7 +11,7 @@ Let's implement proper filter handling in our `view` functions. (We could do it | |||
```rust | |||
fn view(model: &Model) -> Vec<Node<Msg>> { | |||
... | |||
view_footer(&model.todos, model.filter), | |||
view_main(&model.todos,model.selected_todo.as_ref(), model.filter), |
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.
I'm surprised that formatter didn't add a space between ,
and model.se..
=> &model.todos,model.selected_todo.as_ref()
.
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.
Please just add a space and maybe try to find out why the formatter hasn't fixed it. And I'll merge it.
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.
Formatter doesn't do markdown files, right? I'll put the space in.
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 you are right, I was thinking about the code in the repo, sorry for confusion. It looks like I copied the code before formatting, my bad.
Could you also fix |
…d a single space.
Fixes #59, Fixes #61, Fixes #62 and Fixes #66