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

Fix typos #2600

Merged
merged 1 commit into from
Oct 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/flaky-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ processes are vying for CPU time.
sudo cgset -r cpu.cfs_quota_us=10000 cpulimit
sudo cgset -r cpu.cfs_period_us=1000000 cpulimit

# Run a shell with in our limited environemnt
# Run a shell with in our limited environment
sudo cgexec -g cpu:cpulimit bash

# In the shell, run the test
Expand Down
2 changes: 1 addition & 1 deletion examples/libp2p-host/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ defer h2.Close()
fmt.Printf("Hello World, my second hosts ID is %s\n", h2.ID())
```

And thats it, you have a libp2p host and you're ready to start doing some awesome p2p networking!
And that's it, you have a libp2p host and you're ready to start doing some awesome p2p networking!

In future guides we will go over ways to use hosts, configure them differently (hint: there are a huge number of ways to set these up), and interesting ways to apply this technology to various applications you might want to build.

Expand Down
4 changes: 2 additions & 2 deletions p2p/host/peerstore/test/peerstore_suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func testGetStreamBeforePeerAdded(ps pstore.Peerstore) func(t *testing.T) {
t.Fatal("channel shouldnt be closed yet")
}
if a == nil {
t.Fatal("got a nil address, thats weird")
t.Fatal("got a nil address, that's weird")
}
count++
if received[a.String()] {
Expand Down Expand Up @@ -195,7 +195,7 @@ func testAddrStreamDuplicates(ps pstore.Peerstore) func(t *testing.T) {
var count int
for a := range ach {
if a == nil {
t.Fatal("got a nil address, thats weird")
t.Fatal("got a nil address, that's weird")
}
count++
if received[a.String()] {
Expand Down