enigma icon indicating copy to clipboard operation
enigma copied to clipboard

Rewrite result

Open supersaiyansubtlety opened this issue 1 month ago • 2 comments

Rewrites Result so it has separate Ok and Err implementations.

Also adds javadocs.

~~Notably it doesn't hide the Ok and Err implementations; it didn't seem necessary.~~ hid them in package-private classes to be safe (I'm also not sure if util is part of the api or not)

supersaiyansubtlety avatar Nov 08 '25 20:11 supersaiyansubtlety

Me when rust

OroArmor avatar Nov 08 '25 20:11 OroArmor

to me util isn't API, we're allowed to break whenever we want. if a util class is worth exposing as API we'll do an api.util package

ix0rai avatar Nov 10 '25 02:11 ix0rai