all: fix typos in documentation files (#23822)

This commit is contained in:
kilavvy 2025-02-28 00:42:55 +01:00 committed by GitHub
parent ff93ccb29d
commit 8aef3c72b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -665,7 +665,7 @@ pub fn (fm FlagMapper) to_doc(dc DocConfig) !string {
docs << '${name_and_version}'
}
// Resolve the desciption if visible
// Resolve the description if visible
if dc.options.show.has(.description) {
mut description := ''
// Set the description from any `xdoc` (or user defined) from *struct*

View File

@ -1,6 +1,6 @@
module net
// Dialer is an abstract dialer interface for producing connections to adresses.
// Dialer is an abstract dialer interface for producing connections to addresses.
pub interface Dialer {
dial(address string) !Connection
}

View File

@ -82,7 +82,7 @@ pub fn atou(s string) !u32 {
return u32(atou_common(s, max_u32)!)
}
// atou32 is identical to atou. Here to provide a symetrical API with atoi/atoi32
// atou32 is identical to atou. Here to provide a symmetrical API with atoi/atoi32
// It returns u32 in range [0..4294967295] or an Error.
pub fn atou32(s string) !u32 {
return u32(atou_common(s, max_u32)!)