From 9c824807d6a95c85c12684f4264143c91582e698 Mon Sep 17 00:00:00 2001 From: Klaus Post Date: Wed, 27 Jul 2022 05:18:58 -0700 Subject: [PATCH] docs: Fix comments (#195) --- leopard.go | 2 +- reedsolomon.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/leopard.go b/leopard.go index ffe3bc3..cb669ab 100644 --- a/leopard.go +++ b/leopard.go @@ -355,7 +355,7 @@ func (r *reedSolomonFF16) reconstruct(shards [][]byte, recoverAll bool) error { } } if numberPresent == r.Shards || !recoverAll && dataPresent == r.DataShards { - // Cool. All of the shards data data. We don't + // Cool. All of the shards have data. We don't // need to do anything. return nil } diff --git a/reedsolomon.go b/reedsolomon.go index d358980..3c8e03a 100644 --- a/reedsolomon.go +++ b/reedsolomon.go @@ -1096,7 +1096,7 @@ func (r *reedSolomon) reconstruct(shards [][]byte, dataOnly bool, required []boo } if numberPresent == r.Shards || dataOnly && dataPresent == r.DataShards || required != nil && missingRequired == 0 { - // Cool. All of the shards data data. We don't + // Cool. All of the shards have data. We don't // need to do anything. return nil }