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

Fixing various issues I found when running through the tutorial #68

Merged
merged 2 commits into from
Jun 27, 2020

Conversation

tocklime
Copy link
Contributor

@tocklime tocklime commented Jun 27, 2020

Fixes #59, Fixes #61, Fixes #62 and Fixes #66

@tocklime
Copy link
Contributor Author

Oops, the indentation thing from #59 is also fixed in #65, but I guess git can figure it out.

@@ -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),
Copy link
Member

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().

Copy link
Member

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.

Copy link
Contributor Author

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.

Copy link
Member

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.

@MartinKavik
Copy link
Member

Could you also fix BtreeMap - f7f4c6b - I thought you've already fixed it in this PR, but I was wrong.

@MartinKavik
Copy link
Member

Aaaand while you are working on it.. there are other two simple changes... #39 and #38 😄 Thank you.

@MartinKavik MartinKavik merged commit 947f40f into seed-rs:master Jun 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants