gecko-dev/xpcom/rust/nserror
Myk Melez 239f128d8d Bug 1497356 - make NsresultExt.to_result() return Result<(), nsresult> r=froydnj
NsresultExt.to_result() is called by Rust code, so it would be more idiomatic for it to return Result<(), nsresult>, i.e. to return Ok(()) when the nsresult is NS_OK.  This change makes it do so.

MozReview-Commit-ID: EaMEKfonHhC

Differential Revision: https://phabricator.services.mozilla.com/D10127

--HG--
extra : moz-landing-system : lando
2018-10-29 22:35:23 +00:00
..
src Bug 1497356 - make NsresultExt.to_result() return Result<(), nsresult> r=froydnj 2018-10-29 22:35:23 +00:00
Cargo.toml