mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 19:50:14 +01:00
Fix typo and update comment on why std::cout not working now. (#6095)
This commit is contained in:
@@ -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);
|
||||
// }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user