Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
treyd
on Aug 30, 2024
|
parent
|
context
|
favorite
| on:
Rust's Ugly Syntax (2023)
The std::io error type is defined roughly as:
type Result<T> = std::result::Result<T, io::Error>;
So it's actually fine, since we're specifying it's an IO result. This is a fairly common pattern.
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: