Skip to content

Commit

Permalink
fix: typo (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
viney-shih authored Jul 24, 2021
1 parent a8c3844 commit d01021e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/viney-shih/go-lock"
)

func ExampleChanMutex() {
func ExampleCASMutex() {
// set RWMutex with CAS mechanism (CASMutex).
var rwMut lock.RWMutex = lock.NewCASMutex()
// set default value
Expand Down

0 comments on commit d01021e

Please sign in to comment.