all: fix docstrings

This commit is contained in:
Martin Holst Swende
2022-10-04 09:18:02 +02:00
parent ea26fc8a6c
commit ee301c750b
48 changed files with 110 additions and 95 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ func (f *fuzzer) readBool() bool {
return f.read(1)[0]&0x1 == 0
}
// The function must return
// Fuzz function must return
//
// - 1 if the fuzzer should increase priority of the
// given input during subsequent fuzzing (for example, the input is lexically
@@ -179,6 +179,7 @@ func (f *fuzzer) fuzz() int {
return ok
}
// Fuzz is the fuzzing entryy-point.
// The function must return
//
// - 1 if the fuzzer should increase priority of the
+1
View File
@@ -113,6 +113,7 @@ func (k kvs) Swap(i, j int) {
k[j], k[i] = k[i], k[j]
}
// Fuzz is the fuzzing entry-point.
// The function must return
//
// - 1 if the fuzzer should increase priority of the
+1
View File
@@ -117,6 +117,7 @@ func Generate(input []byte) randTest {
return steps
}
// Fuzz is the fuzzing entry-point.
// The function must return
//
// - 1 if the fuzzer should increase priority of the
+1 -1
View File
@@ -232,7 +232,7 @@ var Forks = map[string]*params.ChainConfig{
},
}
// Returns the set of defined fork names
// AvailableForks returns the set of defined fork names
func AvailableForks() []string {
var availableForks []string
for k := range Forks {