1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-06-30 20:33:46 +02:00
Commit Graph

10 Commits

Author SHA1 Message Date
492037641e fix Cargo.toml syntax (#190) 2023-01-20 11:28:38 +01:00
acdf00ae6e Add speaker notes about error examples 2023-01-11 18:14:58 -08:00
68eed5b4f2 Error handling: clarify printing of Result
Two examples may print either `Ok(username)` or `Err(error)`.
This commit clarifies this fact.
2023-01-06 12:35:05 -08:00
9a68434cac Merge pull request #49 from ilyagr/patch-1
`anyhow`: Remove `ReadUsernameError::IoError`
2023-01-05 15:57:17 +01:00
e1c670c4a8 Fix a typo in result.md
"have already see" -> "have already seen"
2023-01-05 14:41:40 +06:00
8d36a3bdd3 fix typo in deriving-error-enums.md 2023-01-03 21:18:30 -08:00
c15e84f63e More precise phrasing of what ? expands to
As per the suggestion from @QuineDot in #65.
2022-12-27 18:09:54 +01:00
5ce7a08f0e anyhow: say this example has fewer custom types 2022-12-23 13:35:40 -08:00
894e694cdb anyhow: Remove ReadUsernameError::IoError
As far as I understand, the example with the `anyhow` example
does not use its special `IoError` anymore, unlike the previous
example with just `thiserror`.

I think this should be made clear. I considered just adding a
`// Now unused` comment, but I think ti's clearer to just remove
the unused code.
2022-12-23 13:32:03 -08:00
c212a473ba Publish Comprehensive Rust 🦀 2022-12-21 16:38:28 +01:00