fix a word spell

This commit is contained in:
nkysg 2016-09-04 12:57:50 +08:00 committed by GitHub
parent 354e14e6c0
commit c9455e0206
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ func (s *AtomicString) Get() string {
return str
}
func (s *AtomicString) CompareAndSwap(oldval, newval string) (swqpped bool) {
func (s *AtomicString) CompareAndSwap(oldval, newval string) (swapped bool) {
s.mu.Lock()
defer s.mu.Unlock()
if s.str == oldval {