Skip to content

Commit

Permalink
Fix typo in comment (#681)
Browse files Browse the repository at this point in the history
Remove duplicated words
  • Loading branch information
lelenanam authored and akshayjshah committed Feb 15, 2019
1 parent 82e3b47 commit d2a364d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,8 @@ func ExampleLogger_Named() {
}

func ExampleWrapCore_replace() {
// Replacing a Logger's core can alter fundamental behaviors. For example,
// example, it can convert a Logger to a no-op.
// Replacing a Logger's core can alter fundamental behaviors.
// For example, it can convert a Logger to a no-op.
nop := zap.WrapCore(func(zapcore.Core) zapcore.Core {
return zapcore.NewNopCore()
})
Expand Down

0 comments on commit d2a364d

Please sign in to comment.