We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3db0bc commit f13b36eCopy full SHA for f13b36e
utiles-pyo3/src/pyutiles/pytile.rs
@@ -50,7 +50,7 @@ impl PyTile {
50
}
51
52
fn __getnewargs__<'py>(&self, py: Python<'py>) -> PyResult<Bound<'py, PyTuple>> {
53
- PyTuple::new(py, [self.xyz.x(), self.xyz.y(), self.xyz.z() as u32])
+ PyTuple::new(py, [self.x(), self.y(), u32::from(self.z())])
54
55
56
pub fn valid(&self) -> bool {
0 commit comments