Fix typo and update comment on why std::cout not working now. (#6095)

This commit is contained in:
Boaz Brickner
2025-09-18 13:06:38 +00:00
committed by GitHub
parent 50a0f908c6
commit 26cb28196d
+3 -3
View File
@@ -5,8 +5,8 @@
import Cpp inline "#include <cstdio>";
fn Run() {
// TODO: Requires operator <<, declaration type Var (cout) and class with
// virtual bases (basic_ostream).
// TODO: Requires member operator << and class with virtual bases
// (basic_ostream).
// Cpp.std.cout << "Hello world!\n";
// TODO: Requires variadic function.
@@ -20,7 +20,7 @@ fn Run() {
// TODO: Requires Core.String API.
// let message: str = "Hello world!\n\n";
// for (c: Core.Char in msg) {
// for (c: Core.Char in message) {
// Cpp.putchar((c as u8) as i32);
// }