This commit is contained in:
nicoan
2026-04-15 15:40:16 -03:00
parent 2c4a20e71b
commit 495779a21b
2 changed files with 0 additions and 13 deletions
-2
View File
@@ -180,7 +180,6 @@ pub unsafe fn inner_scanf<T: Kind>(
}
}
let pointer = c == 'p';
// Pointers aren't automatic, but we do want to parse "0x"
let auto = c == 'i' || pointer;
@@ -192,7 +191,6 @@ pub unsafe fn inner_scanf<T: Kind>(
_ => 10,
};
let mut n = String::new();
let mut dot = false;
-11
View File
@@ -100,14 +100,3 @@ int main ()
return 0;
}
/*
wchar_t world[6];
int value;
int ret = swscanf(L"hello world 42", L"hello %5ls %d", world, &value);
// int ret = swscanf(L"42", L"%d", &value);
// wprintf(L"swscanf gave '%ls' instead of '%ls'", world, L"world");
printf("swscanf gave '%d' instead of %d", value, 42);
printf("ret %d\n", ret);
*/