1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

fmt: fix formatting of anon args (#6545)

This commit is contained in:
Enzo
2020-10-04 06:32:47 +02:00
committed by GitHub
parent 51987e17df
commit fd88bfbac8
7 changed files with 34 additions and 36 deletions

View File

@ -28,7 +28,7 @@ mut:
fn C.uname(name voidptr) int
fn C.symlink(arg_1, arg_2 charptr) int
fn C.symlink(charptr, charptr) int
pub fn uname() Uname {
mut u := Uname{}
@ -124,7 +124,7 @@ pub fn mkdir(path string) ?bool {
r := unsafe {
C.mkdir(charptr(apath.str), 511)
}
if r == -1 {
return error(posix_get_error_msg(C.errno))
}