Skip to content

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Spelling #118

wants to merge 6 commits into from

Conversation

jsoref
Copy link

@jsoref jsoref commented Feb 21, 2025

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

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).
Copy link
Author

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 {
Copy link
Author

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) {
Copy link
Author

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...

Comment on lines +756 to +757
delimitedProtocolID := make([]byte, buf.Len())
copy(delimitedProtocolID, buf.Bytes())
Copy link
Author

Choose a reason for hiding this comment

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

Rough guess

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.

1 participant