Skip to content

Commit

Permalink
check: fix typo in panic message
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandear authored and mvdan committed Jan 4, 2024
1 parent fe02aa3 commit c549a34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@ func recvPrefix(recv *ast.FieldList) string {
case *ast.IndexListExpr:
return expr.X.(*ast.Ident).Name + "."
default:
panic(fmt.Sprintf("unexepected receiver AST node: %T", expr))
panic(fmt.Sprintf("unexpected receiver AST node: %T", expr))
}
}

Expand Down

0 comments on commit c549a34

Please sign in to comment.