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

doc(transport): improve connect_with_connector doc #432

Merged
merged 2 commits into from
Aug 20, 2020

Conversation

edrevo
Copy link
Contributor

@edrevo edrevo commented Aug 19, 2020

Motivation

I was trying to understand a project that uses tonic and it was hard to understand exactly what connect_with_connector (especially since you need to provide a bogus URL to use it). It wasn't until I landed on #184 that I understood what was going on. I think the documentation is lacking a bit of context for that function.

Solution

Added a bit of context to that function's documentation

Copy link
Member

@LucioFranco LucioFranco left a comment

Choose a reason for hiding this comment

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

I really appreciate you looking into improving the docs! I suggested a minor tweek but otherwise, we can merge this! Thanks!

tonic/src/transport/channel/endpoint.rs Outdated Show resolved Hide resolved
Copy link
Member

@LucioFranco LucioFranco left a comment

Choose a reason for hiding this comment

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

Thanks!

@LucioFranco LucioFranco merged commit bec4936 into hyperium:master Aug 20, 2020
@edrevo edrevo deleted the improve-doc branch August 21, 2020 05:25
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.

2 participants