@@ 41,7 41,7 @@ it has been implemented using `for (true)` and `match`:
```hare
for (true) match (bufio::read_line(file)!) {
case let line: []u8 =>
- fmt::printfln("{}" strings::fromutf8(line)!)!;
+ fmt::printfln("{}", strings::fromutf8(line)!)!;
case io::EOF =>
break;
};
@@ 52,7 52,7 @@ better. Here is what that could look like:
```hare
foreach (line = bufio::read_line(file)!) {
- fmt::printfln("{}" strings::fromutf8(line)!)!;
+ fmt::printfln("{}", strings::fromutf8(line)!)!;
};
```
@@ 99,7 99,7 @@ up with:
```hare
for (let line => bufio::read_line(file)!) {
- fmt::printfln("{}" strings::fromutf8(line)!)!;
+ fmt::printfln("{}", strings::fromutf8(line)!)!;
};
```