Skip to content

Commit

Permalink
Fixed a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kitao committed Oct 11, 2024
1 parent 0e0c020 commit 88c2fae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/pyxel-wrapper/src/system_wrapper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ fn run<'py>(py: Python, update: Bound<'py, PyAny>, draw: Bound<'py, PyAny>) {
draw: Bound<'a, PyAny>,
}

impl<'a> PyxelCallback for PythonCallback<'a> {
impl PyxelCallback for PythonCallback<'_> {
fn update(&mut self, _pyxel: &mut Pyxel) {
if let Err(err) = self.update.call0() {
err.print(self.py);
Expand Down

0 comments on commit 88c2fae

Please sign in to comment.