Mercurial > hg
comparison mercurial/patch.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 | f802a75da585 |
children | 1fd530b1e1cf |
comparison
equal
deleted
inserted
replaced
42798:99dff4264524 | 42799:5399532510ae |
---|