Avatar
Avatar
omochimetaru
@swift-5.8.1 let str = "abc" str.withCString { print(String(format: "%8s", $0)) } print(String(format: "%8@", str))
exit status: 1 with <stdin>:3:17: error: incorrect argument labels in call (have 'format:_:', expected 'repeating:count:') print(String(format: "%8s", $0)) ^~~~~~~
1.42 KB