Spelling fixes inspired by github.com/client9/misspell

This commit is contained in:
laushinka
2016-02-13 02:33:32 +07:00
parent 6435d03400
commit 7ef585be22
111 changed files with 152 additions and 152 deletions

View File

@@ -122,7 +122,7 @@ func IntPtr(i int) *int {
return &o
}
// IntPtrDerefOr derefrence the int ptr and returns it i not nil,
// IntPtrDerefOr dereference the int ptr and returns it i not nil,
// else returns def.
func IntPtrDerefOr(ptr *int, def int) int {
if ptr != nil {