3 ms·
Languages with "linear types" would, but there aren't any mainstream ones. (And, to be extra clear, it only lets you ignore a Result if you don't care about th
by steveklabnik 5y ago
Languages with "linear types" would, but there aren't any mainstream ones.
(And, to be extra clear, it only lets you ignore a Result if you don't care about the Ok value, if you want to use it, it does not.)