Perfect documentation

Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
This commit is contained in:
yuxiaobo
2019-09-25 16:59:31 +08:00
parent aba201344e
commit 5ea9363624
7 changed files with 7 additions and 7 deletions

View File

@@ -76,7 +76,7 @@ type DB struct {
// sweep phases without preventing read transactions.
wlock sync.RWMutex
// dirty flag indicates that refences have been removed which require
// dirty flag indicates that references have been removed which require
// a garbage collection to ensure the database is clean. This tracks
// the number of dirty operations. This should be updated and read
// atomically if outside of wlock.Lock.