mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
239f128d8d
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 |
||
---|---|---|
.. | ||
gtest | ||
nserror | ||
xpcom |