D5439: rust-cpython: binding for AncestorsIterator

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Mon Dec 17 09:33:19 EST 2018


yuja added a comment.


  >   OTOH I'll have to keep the loop so that I can get the early return upon error (otherwise we'd get a Vec<PyResult<...>>
  
  I didn't check the implementation, but collect() for Result will return
  immediately if reached to Err.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D5439

To: gracinet, #hg-reviewers, kevincox
Cc: yuja, durin42, kevincox, mercurial-devel


More information about the Mercurial-devel mailing list