-
Notifications
You must be signed in to change notification settings - Fork 1.2k
*: Remove inject_connected / inject_disconnected from docs
#2805
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
Conversation
inject_connected / inject_disconnected in commentsinject_connected / inject_disconnected from docs
inject_connected / inject_disconnected from docsinject_connected / inject_disconnected from docs
thomaseizinger
left a comment
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.
Thank you!
One suggestion.
swarm/src/behaviour.rs
Outdated
| /// for the behaviour. | ||
| /// | ||
| /// The `peer_id` is guaranteed to be in a connected state. In other words, `inject_connected` | ||
| /// The `peer_id` is guaranteed to be in a connected state. In other words, `inject_connection_established` |
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.
Lets change this and other rustdoc appearances to an actual reference with [``].
That will yield a compile-error if we ever hit this again.
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.
Thanks for your review. I changed them.
mxinden
left a comment
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.
Thanks for the help here. Please wrap the lines at 80 or 120 characters. Otherwise, this looks good to me.
mxinden
left a comment
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.
🙏 Thank you for the help!
Description
Both
inject_connectedandinject_disconnectedare removed in dc8433e.Links to any relevant issues
Open Questions
Change checklist