diff -r b84c3d43ff2e -r 645ee7225fab rust/hg-cpython/src/revlog.rs --- a/rust/hg-cpython/src/revlog.rs Sat Jan 30 18:30:11 2021 +0800 +++ b/rust/hg-cpython/src/revlog.rs Mon Jan 25 11:48:47 2021 +0100 @@ -64,7 +64,7 @@ let nt = opt.as_ref().unwrap(); let idx = &*self.cindex(py).borrow(); let node = node_from_py_bytes(py, &node)?; - nt.find_bin(idx, (&node).into()).map_err(|e| nodemap_error(py, e)) + nt.find_bin(idx, node.into()).map_err(|e| nodemap_error(py, e)) } /// same as `get_rev()` but raises a bare `error.RevlogError` if node