diff --git a/examples/interop/cpp/hello_world.carbon b/examples/interop/cpp/hello_world.carbon index 619edf1299a0..5a841fd92dfa 100644 --- a/examples/interop/cpp/hello_world.carbon +++ b/examples/interop/cpp/hello_world.carbon @@ -5,8 +5,8 @@ import Cpp inline "#include "; 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); // }