Recently there was a renaming of the question mark operator to try propagation expression.
PR that changed it in case you are interested.
It's not yet in nightly as of now.
Recently there was a renaming of the question mark operator to try propagation expression.
PR that changed it in case you are interested.
It's not yet in nightly as of now.
What is your actual question?
Hi!
There is no question, the community tag can be used for sharing some interesting events happening, and I think anything quite general as well. (You can click on it if needed.)
So there isn't a question, but you can comment on the changes if you are interested. I simply thought curious users here would be.
Maybe the ? in the title confused you, that was a silly joke, and I removed it for clarity.
I didn't know about the change, but it makes sense. Rather than naming it by what it is I find it better to name it after what it does.
I like that the Rust community is improving the naming of things (recently dyn compatible) to make it more descriptive and beginner-friendly.
I wonder if this means that there has been some recent movement on try-v2.
I've been hoping for try-v2 stabilization for a long time, and recently I stumbled on an Issue comment where someone remarked that try-v2 is at least four years away from stabilization, if it ever does become stable -- which was a little depressing to read.
I'll choose to remain optimistic though.
Yes. I just spotted something curious related to that; there was try! but has been deprecated since 1.39 in favour of ?.
That I found from reading rustfmt settings.
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.