Fix typo in a comment (#525)
This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
||||
"fmt"
|
||||
)
|
||||
|
||||
// A custom error type usualy has the suffix "Error".
|
||||
// A custom error type usually has the suffix "Error".
|
||||
type argError struct {
|
||||
arg int
|
||||
message string
|
||||
|
@@ -1,2 +1,2 @@
|
||||
9ee495d1322218925d6c654626398d7f3de0e208
|
||||
uhdXdp_OCct
|
||||
e63d61872edce05ea3ec797958eff48d1decfbd8
|
||||
qKKTjmc6SuB
|
||||
|
4
public/custom-errors
generated
4
public/custom-errors
generated
@@ -44,7 +44,7 @@ to explicitly represent an argument error.</p>
|
||||
|
||||
</td>
|
||||
<td class="code leading">
|
||||
<a href="https://go.dev/play/p/uhdXdp_OCct"><img title="Run code" src="play.png" class="run" /></a><img title="Copy code" src="clipboard.png" class="copy" />
|
||||
<a href="https://go.dev/play/p/qKKTjmc6SuB"><img title="Run code" src="play.png" class="run" /></a><img title="Copy code" src="clipboard.png" class="copy" />
|
||||
<pre class="chroma"><code><span class="line"><span class="cl"><span class="kn">package</span> <span class="nx">main</span></span></span></code></pre>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -64,7 +64,7 @@ to explicitly represent an argument error.</p>
|
||||
|
||||
<tr>
|
||||
<td class="docs">
|
||||
<p>A custom error type usualy has the suffix “Error”.</p>
|
||||
<p>A custom error type usually has the suffix “Error”.</p>
|
||||
|
||||
</td>
|
||||
<td class="code leading">
|
||||
|
Reference in New Issue
Block a user