strconv: fix strconv.v_printf() (#13716)

This commit is contained in:
yuyi 2022-03-11 23:00:57 +08:00 committed by GitHub
parent 10ab758aa7
commit 795fe5844c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 51 additions and 1 deletions

View file

@ -23,7 +23,7 @@ enum Char_parse_state {
}
pub fn v_printf(str string, pt ...voidptr) {
print(v_sprintf(str, pt))
print(v_sprintf(str, ...pt))
}
pub fn v_sprintf(str string, pt ...voidptr) string {