Explorar o código

wal: fix minor wording in comment

Gyu-Ho Lee %!s(int64=10) %!d(string=hai) anos
pai
achega
231530e0c5
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      wal/encoder.go

+ 2 - 2
wal/encoder.go

@@ -26,8 +26,8 @@ import (
 )
 
 // walPageBytes is the alignment for flushing records to the backing Writer.
-// It should be a multiple of the minimum sector size so that WAL repair can
-// safely between torn writes and ordinary data corruption.
+// It should be a multiple of the minimum sector size so that WAL can safely
+// distinguish between torn writes and ordinary data corruption.
 const walPageBytes = 8 * minSectorSize
 
 type encoder struct {