Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
masklinn
· 3y ago · 0 comments
Uh? Try! was added in 0.11, and the feature found to work well enough and be sufficiently valuable that ? superseded it in 0.13.
Comments
[–]
debugnik
3y ago
try! was added in 0.10 (2014), and ? was stabilized in 1.13 (2020), according to my quick check on GitHub releases. Note that the underlying traits to implement ? on custom types are still unstable.
[–]
chrismorgan
3y ago
Correction: 1.13.0 was not released in 2020, but on 2016-11-10. The rest of the comment is accurate.
[–]
debugnik
3y ago
Oh, noted. I guess Rust uploaded old releases to GitHub at some point during 2020, then.
[–]
chrismorgan
3y ago
https://github.com/rust-lang/rust/blob/master/RELEASES.md
is an
excellent
file for finding all of this kind of stuff.