Skip to content

Commit

Permalink
Suppress clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmmease committed Jan 30, 2024
1 parent 3247f13 commit f1a4e96
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions avenger-python/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ impl SceneGraph {
Ok(Self { inner })
}

#[allow(clippy::wrong_self_convention)]
fn to_png(&mut self, py: Python, scale: Option<f32>) -> PyResult<PyObject> {
let mut png_canvas = pollster::block_on(PngCanvas::new(CanvasDimensions {
size: [self.inner.width, self.inner.height],
Expand Down

0 comments on commit f1a4e96

Please sign in to comment.