all: small typo fixes (#2095)

This commit is contained in:
Alexander Melentyev
2021-11-01 18:47:06 +03:00
committed by GitHub
parent 681d03e896
commit 147b1f59ae
8 changed files with 10 additions and 10 deletions

View File

@@ -2426,7 +2426,7 @@ func (s *Selector) ForShare(opts ...LockOption) *Selector {
return s.For(LockShare, opts...)
}
// LockUpdate sets the lock configuration for suffixing the
// ForUpdate sets the lock configuration for suffixing the
// `SELECT` statement with the `FOR UPDATE` clause.
func (s *Selector) ForUpdate(opts ...LockOption) *Selector {
return s.For(LockUpdate, opts...)