strconv: fix typo (#8318)

pull/8329/head
Adelar da Silva Queiróz 2021-01-24 19:18:40 -03:00 committed by GitHub
parent d3327ba50f
commit 334554ffb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -431,7 +431,7 @@ pub fn v_printf(str string, pt ... voidptr) {
pub fn v_sprintf(str string, pt ... voidptr) string{ pub fn v_sprintf(str string, pt ... voidptr) string{
mut res := strings.new_builder(pt.len * 16) mut res := strings.new_builder(pt.len * 16)
mut i := 0 // main strign index mut i := 0 // main string index
mut p_index := 0 // parameter index mut p_index := 0 // parameter index
mut sign := false // sign flag mut sign := false // sign flag
mut allign := Align_text.right mut allign := Align_text.right