-
Notifications
You must be signed in to change notification settings - Fork 975
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
*: Remove inject_connected
/ inject_disconnected
from docs
#2805
Conversation
inject_connected
/ inject_disconnected
in commentsinject_connected
/ inject_disconnected
from docs
inject_connected
/ inject_disconnected
from docsinject_connected
/ inject_disconnected
from docs
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
@@ -230,7 +230,7 @@ pub trait NetworkBehaviour: 'static { | |||
/// Informs the behaviour about an event generated by the handler dedicated to the peer identified by `peer_id`. | |||
/// 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.
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.
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_connected
andinject_disconnected
are removed in dc8433e.Links to any relevant issues
Open Questions
Change checklist