From 6ade96275c89d7d7f2af57a02775601072068d3a Mon Sep 17 00:00:00 2001 From: Zihang Ye Date: Fri, 17 Jan 2025 17:29:22 +0800 Subject: [PATCH] Update next/language/methods.md --- next/language/methods.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/next/language/methods.md b/next/language/methods.md index 8a01a671..f1077f37 100644 --- a/next/language/methods.md +++ b/next/language/methods.md @@ -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,