mirror of
https://github.com/vlang/v.git
synced 2025-08-04 02:07:28 -04:00
all: fix typos in documentation files (#23822)
This commit is contained in:
parent
ff93ccb29d
commit
8aef3c72b4
@ -665,7 +665,7 @@ pub fn (fm FlagMapper) to_doc(dc DocConfig) !string {
|
|||||||
docs << '${name_and_version}'
|
docs << '${name_and_version}'
|
||||||
}
|
}
|
||||||
|
|
||||||
// Resolve the desciption if visible
|
// Resolve the description if visible
|
||||||
if dc.options.show.has(.description) {
|
if dc.options.show.has(.description) {
|
||||||
mut description := ''
|
mut description := ''
|
||||||
// Set the description from any `xdoc` (or user defined) from *struct*
|
// Set the description from any `xdoc` (or user defined) from *struct*
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
module net
|
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 {
|
pub interface Dialer {
|
||||||
dial(address string) !Connection
|
dial(address string) !Connection
|
||||||
}
|
}
|
||||||
|
@ -82,7 +82,7 @@ pub fn atou(s string) !u32 {
|
|||||||
return u32(atou_common(s, max_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.
|
// It returns u32 in range [0..4294967295] or an Error.
|
||||||
pub fn atou32(s string) !u32 {
|
pub fn atou32(s string) !u32 {
|
||||||
return u32(atou_common(s, max_u32)!)
|
return u32(atou_common(s, max_u32)!)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user