2 ms·
Another really great thing about returning a result Result<T, E> is that your caller code will then must use this return value or otherwise a warning will be em
by doe88 12y ago
Another really great thing about returning a result Result<T, E> is that your caller code will then must use this return value or otherwise a warning will be emitted by the compiler at compile time. For those interested, more details are provided in the core lib documentation: http://doc.rust-lang.org/core/result/ http://doc.rust-lang.org/core/result/