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

refactor(iroh-net): Remove PathState::recent_pong() #2745

Merged
merged 1 commit into from
Sep 23, 2024
Merged

Conversation

flub
Copy link
Contributor

@flub flub commented Sep 23, 2024

Description

The field itself is also directly accessible with the same visibility
as this function. Having two ways to get to this value is a bit
confusing. And directly using the field makes it easier when checking
users by following the references from rust-analyzer.

Breaking Changes

None

Notes & open questions

None

Change checklist

  • Self-review.
  • [ ] Documentation updates following the style guide, if relevant.
  • [ ] Tests if relevant.
  • [ ] All breaking changes documented.

The field itself is also directly accessible with the same visibility
as this function.  Having two ways to get to this value is a bit
confusing.  And directly using the field makes it easier when checking
users by following the references from rust-analyzer.
Copy link

Documentation for this PR has been generated and is available at: https://n0-computer.github.io/iroh/pr/2745/docs/iroh/

Last updated: 2024-09-23T16:26:36Z

Copy link
Contributor

@divagant-martian divagant-martian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. I wonder why was added in the first place

@flub flub added this pull request to the merge queue Sep 23, 2024
Merged via the queue into main with commit cafdc08 Sep 23, 2024
27 checks passed
@flub flub deleted the flub/recent_pong_func branch September 24, 2024 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants