Skip to content

Commit 93fa3e0

Browse files
committed
staticcheck: update Since field of checks that are new in 2020.2
1 parent fd953f5 commit 93fa3e0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

staticcheck/doc.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ Reflection (https://golang.org/doc/articles/laws_of_reflection.html).
557557
This text has been copied from
558558
https://golang.org/doc/faq#nil_error, licensed under the Creative
559559
Commons Attribution 3.0 License.`,
560-
Since: "Unreleased",
560+
Since: "2020.2",
561561
},
562562

563563
"SA5000": {
@@ -729,7 +729,7 @@ popular package.`,
729729
Often, these functions treat elements in a slice as pairs.
730730
For example, strings.NewReplacer takes pairs of old and new strings,
731731
and calling it with an odd number of elements would be an error.`,
732-
Since: "Unreleased",
732+
Since: "2020.2",
733733
},
734734

735735
"SA6000": {
@@ -970,6 +970,6 @@ positives in somewhat exotic but valid bit twiddling tricks:
970970
v = v << 32
971971
return i-v
972972
}`,
973-
Since: "Unreleased",
973+
Since: "2020.2",
974974
},
975975
}

0 commit comments

Comments
 (0)