comparison mercurial/dirstate.py @ 42799:5399532510ae

rust: simply use TryInto to convert slice to array Since our rust module depends on TryInto, there's no point to avoid using it. While rewriting copy_into_array(), I noticed CPython interface doesn't check the length of the p1/p2 values, which is marked as TODO.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 17 Aug 2019 11:37:42 +0900
parents 749ef8c31187
children d459cd8ea42d
comparison
equal deleted inserted replaced
42798:99dff4264524 42799:5399532510ae