Some prior discussion on the general topic:
- Ok wrapping: Improved support for writing code from an error handling mindset by scottmcm · Pull Request #2107 · rust-lang/rfcs · GitHub
- Add the `()` → `Result<(), _>` coercion rule, for removing `Ok(())` everywhere. by kennytm · Pull Request #2120 · rust-lang/rfcs · GitHub
- Killing `Ok(())` without ok-wrapping - #45 by khionu
- Auto wrap of () in Ok() for functions returning Result<(), Error_Type> - #23 by jdahlstrom
I can't remember if we (libs-api) ever considered an ok() function. Some quick skimming of the above links did turn up this, but I'm not sure if it was ever seriously entertained.
At least speaking personally, I don't really think Ok(()) is a problem that ought to be solved. But opinions I think differ wildly about this.