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

docs: Improve UdpMetadata doc comments. #1014

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

willbicks
Copy link
Contributor

I got caught up while reading the docs by what I think is just a typo in the doc comments for UdpMetadata.local_address, where 'to' seems to be have written instead of 'from'. While fixing, to avoid just submitting a one-word PR, I also added a brief doc comment to the UdpMetadata.endpoint field.

Fix local_address doc to indicate purpose on outgoing datagrams.

Add rustdoc comment to endpoint field.
@Dirbaio Dirbaio added this pull request to the merge queue Nov 26, 2024
Merged via the queue into smoltcp-rs:main with commit c07970b Nov 26, 2024
13 checks passed
@willbicks willbicks deleted the udp-metadata-doc branch November 28, 2024 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants