Skip to content

add comments for unix socket usage - #3443

Closed
danielecr wants to merge 1 commit into
hyperium:masterfrom
danielecr:patch-1
Closed

danielecr wants to merge 1 commit into
hyperium:masterfrom
danielecr:patch-1

Conversation

@danielecr

Copy link
Copy Markdown

in the comment there is code to be used as placeholder for using unix socket as transport

in the comment there is code to be used as placeholder for using unix socket as transport
@seanmonstar

Copy link
Copy Markdown
Member

I appreciate your desire to improve the documentation, thank you! However, I personally think adding commented out code to the example can be distracting to people who don't need it.

If anything, I think adding one comment above the line for TcpListener::bind() could be helpful, saying // You can use any kind of listener or source of new connections..

@danielecr

Copy link
Copy Markdown
Author

I completely disagree on that, anyway ok, nevermind

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