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
Killing `Ok(())` without ok-wrapping
language design
45
2593
May 25, 2022
Auto wrap of () in Ok() for functions returning Result<(), Error_Type>
language design
23
3864
December 6, 2021
Just a pondering.on result<(),T>
language design
81
2736
March 25, 2019
Killing `Ok(())` with one-line functions
4
764
September 13, 2022
[Pre-RFC] `Result::void()` and `Option::void()`
language design
67
4173
October 9, 2021