Mercurial > hg
comparison .clang-format @ 40933:18513d6ef7d4
rust: changed Graph.parents to return [Revision; 2]
This will allow for simple iteration on parent revisions,
such as:
for parent in graph.parents(rev)?.iter().cloned()
This seems to be a zero overhead abstraction once built in
release mode.
Differential Revision: https://phab.mercurial-scm.org/D5415
author | Georges Racinet <gracinet@anybox.fr> |
---|---|
date | Fri, 30 Nov 2018 00:44:04 +0100 |
parents | d0a3fa849cb8 |
children |
comparison
equal
deleted
inserted
replaced
40932:dc38d976ff4d | 40933:18513d6ef7d4 |
---|