mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
builtin: correct a small documentation mistake (#17935)
This commit is contained in:
parent
8b37694760
commit
f9c186a400
@ -633,9 +633,9 @@ pub fn (s string) u64() u64 {
|
||||
|
||||
// parse_uint is like `parse_int` but for unsigned numbers
|
||||
//
|
||||
// This method directly exposes the `parse_int` function from `strconv`
|
||||
// This method directly exposes the `parse_uint` function from `strconv`
|
||||
// as a method on `string`. For more advanced features,
|
||||
// consider calling `strconv.common_parse_int` directly.
|
||||
// consider calling `strconv.common_parse_uint` directly.
|
||||
[inline]
|
||||
pub fn (s string) parse_uint(_base int, _bit_size int) !u64 {
|
||||
return strconv.parse_uint(s, _base, _bit_size)
|
||||
@ -654,9 +654,9 @@ pub fn (s string) parse_uint(_base int, _bit_size int) !u64 {
|
||||
// correspond to int, int8, int16, int32, and int64.
|
||||
// If bitSize is below 0 or above 64, an error is returned.
|
||||
//
|
||||
// This method directly exposes the `parse_uint` function from `strconv`
|
||||
// This method directly exposes the `parse_int` function from `strconv`
|
||||
// as a method on `string`. For more advanced features,
|
||||
// consider calling `strconv.common_parse_uint` directly.
|
||||
// consider calling `strconv.common_parse_int` directly.
|
||||
[inline]
|
||||
pub fn (s string) parse_int(_base int, _bit_size int) !i64 {
|
||||
return strconv.parse_int(s, _base, _bit_size)
|
||||
|
Loading…
Reference in New Issue
Block a user