Skip to content

Commit

Permalink
Update next/language/methods.md
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-jerry-ye authored Jan 17, 2025
1 parent 9d2d6f8 commit 6ade962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion next/language/methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ When the first parameter of a method is also the type it belongs to, methods can

### API design guideline
Since there are two ways to define methods, and both allow dot syntax,
a natural question is which syntax to choose when desining the API of a package.
a natural question is which syntax to choose when designing the API of a package.
The rule here is:

- if the package exports only one primary type,
Expand Down

0 comments on commit 6ade962

Please sign in to comment.