Skip to content

Update ch10-02-traits.md #4395

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

Closed
wants to merge 2 commits into from
Closed

Conversation

adarsh0728
Copy link

@adarsh0728 adarsh0728 commented Jun 6, 2025

social is added in sync with below print line.

println!("1 new social post: {}", post.summarize());

@adarsh0728
Copy link
Author

#4388 has also tried to address the issue.

@piyush1104
Copy link

closing mine as I seemed to have missed one line

@iampi31415
Copy link

This is fixed in the nightly version so i think it won't be accepted

https://doc.rust-lang.org/nightly/book/ch10-02-traits.html#implementing-a-trait-on-a-type

unless I am misreading something

@adarsh0728 adarsh0728 closed this Jun 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants