浏览代码

Fix typo in comment

greatroar 5 年之前
父节点
当前提交
489205cea9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      block.go

+ 1 - 1
block.go

@@ -37,7 +37,7 @@ func UncompressBlock(src, dst []byte) (int, error) {
 // This is the fast version of LZ4 compression and also the default one.
 //
 // The argument hashTable is scratch space for a hash table used by the
-// compressor. It provided, it should have length at least 1<<16. If it is
+// compressor. If provided, it should have length at least 1<<16. If it is
 // shorter (or nil), CompressBlock allocates its own hash table.
 //
 // The size of the compressed data is returned. If it is 0 and no error, then the data is incompressible.