-
Notifications
You must be signed in to change notification settings - Fork 14k
Improve docs on JSON #15675
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
Improve docs on JSON #15675
Conversation
src/libserialize/json.rs
Outdated
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.
"Simple"
|
Fix the line length issue that Travis complained about. |
src/libserialize/json.rs
Outdated
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.
"The examples above use"
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.
and also "string, which is required"
|
lgtm after those two tiny changes. |
- add one simple example of using `ToJson` trait - make example code more readable
|
@steveklabnik thanks for paying attention to my typos, I fixed them now :) |
|
@alexcrichton I don't seem to see an error. There are some warning though, but all changes here are in comments... Any ideas? |
|
It looks like a spurious failure, and @huonw write |
- add one simple example of using `ToJson` trait - make example code more readable
Noticed while working on rust-lang/rust-clippy#15673. changelog: none
ToJsontrait