Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
TazeTSchnitzel
on June 15, 2023
|
parent
|
context
|
favorite
| on:
Effective Rust (2021)
This is really weird code because `print!` in Rust always takes a format string (similar to C's printf but as a macro), but I don't see one here. So it's not just a single-character typo.
dan-robertson
on June 15, 2023
[–]
If you read the text, which has since been fixed, it appears that the example output was incorrect and a print_page function was intended.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: