diff --git a/rust/hg-cpython/src/ancestors.rs b/rust/hg-cpython/src/ancestors.rs --- a/rust/hg-cpython/src/ancestors.rs +++ b/rust/hg-cpython/src/ancestors.rs @@ -126,7 +126,12 @@ py_class!(pub class MissingAncestors |py| { data inner: RefCell>>; - def __new__(_cls, index: PyObject, bases: PyObject) -> PyResult { + def __new__( + _cls, + index: PyObject, + bases: PyObject + ) + -> PyResult { let bases_vec: Vec = rev_pyiter_collect(py, &bases)?; let inner = CoreMissing::new(pyindex_to_graph(py, index)?, bases_vec); MissingAncestors::create_instance(py, RefCell::new(Box::new(inner)))