Skip to content

Commit 480ab4f

Browse files
authored
docs: fix typos (#1553)
1 parent cc04b17 commit 480ab4f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

‎RULES_DESCRIPTIONS.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1631,7 +1631,7 @@ _Configuration_: N/A
16311631
_Description_: This rule proposes to replace calls to built-in `print` and `println` with their equivalents from `fmt` standard package.
16321632

16331633
`print` and `println` built-in functions are not recommended for use-cases other than
1634-
[language boostraping and are not guaranteed to stay in the language](https://go.dev/ref/spec#Bootstrapping).
1634+
[language bootstrapping and are not guaranteed to stay in the language](https://go.dev/ref/spec#Bootstrapping).
16351635

16361636
_Configuration_: N/A
16371637

‎test/useless_fallthrough_test.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ import (
66
"github.com/mgechev/revive/rule"
77
)
88

9-
func TestUselessFallTrhough(t *testing.T) {
9+
func TestUselessFallthrough(t *testing.T) {
1010
testRule(t, "useless_fallthrough", &rule.UselessFallthroughRule{})
1111
}

‎testdata/golint/var_naming.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Test for name linting.
22

33
// Package pkg ...
4-
package pkg // package names checks are tested elesewhere
4+
package pkg // package names checks are tested elsewhere
55

66
import (
77
"io"

‎testdata/identical_switch_conditions.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package fixtures
22

33
func enforceSwitchStyle3() {
44

5-
switch expression { // skipt tagged switch
5+
switch expression { // skip tagged switch
66
case value:
77
default:
88
}

0 commit comments

Comments
 (0)