Rust Internals
Implicit void result Ok(())
language design
mbrubeck
April 21, 2019, 7:53pm
2
This proposal is relevant:
Pre-RFC: Catching Functions
show post in topic
Related topics
Topic
Replies
Views
Activity
Auto wrap of () in Ok() for functions returning Result<(), Error_Type>
language design
22
5088
September 7, 2021
Killing `Ok(())` with one-line functions
3
946
June 15, 2022
[Pre-RFC] `Result::void()` and `Option::void()`
language design
66
4957
July 11, 2021
Just a pondering.on result<(),T>
language design
80
3434
October 19, 2018
Killing `Ok(())` without ok-wrapping
language design
44
3225
May 25, 2022