-
Notifications
You must be signed in to change notification settings - Fork 29
Spelling #118
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
base: master
Are you sure you want to change the base?
Spelling #118
Conversation
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
@@ -10,8 +10,7 @@ | |||
|
|||
> an implementation of the multistream protocol in go | |||
|
|||
This package implements a simple stream router for the multistream-select protocol. | |||
The protocol is defined [here](https://github.com/multiformats/multistream-select). | |||
This package implements a simple stream router for the [multistream-select protocol](https://github.com/multiformats/multistream-select). |
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.
This isn't technically a spelling error, but it's easy enough to look for other things at the same time, the rule is:
Do not use (click) here
links
For more information, see:
@@ -88,7 +88,7 @@ func delimWriteBuffered(w io.Writer, mes []byte) error { | |||
return bw.Flush() | |||
} | |||
|
|||
func delitmWriteAll(w io.Writer, messages ...[]byte) error { | |||
func delimWriteAll(w io.Writer, messages ...[]byte) error { |
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.
This is based on it calling delimWrite
below...
@@ -677,7 +677,7 @@ func (rob *readonlyBuffer) Close() error { | |||
return nil | |||
} | |||
|
|||
func TestNegotiatThenWriteFail(t *testing.T) { | |||
func TestNegotiateThenWriteFail(t *testing.T) { |
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.
My understanding is that changes to go test names are fairly harmless even though they're public functions...
delimitedProtocolID := make([]byte, buf.Len()) | ||
copy(delimitedProtocolID, buf.Bytes()) |
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.
Rough guess
This PR corrects misspellings identified by the check-spelling action
The misspellings have been reported at https://github.com/jsoref/go-multistream/actions/runs/13458098141#summary-37606510208
The action reports that the changes in this PR would make it happy: https://github.com/jsoref/go-multistream/actions/runs/13458098343#summary-37606511331