mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-21 23:04:49 +01:00
fix: typos in clear_callback
This commit is contained in:
parent
fb35ddb3cd
commit
fb9492a2fb
2 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ impl LuaUserData for CodempWorkspace {
|
||||||
}))
|
}))
|
||||||
});
|
});
|
||||||
|
|
||||||
methods.add_method("clear_callbacl", |_, this, ()| Ok(this.clear_callback()));
|
methods.add_method("clear_callback", |_, this, ()| Ok(this.clear_callback()));
|
||||||
}
|
}
|
||||||
|
|
||||||
fn add_fields<F: LuaUserDataFields<Self>>(fields: &mut F) {
|
fn add_fields<F: LuaUserDataFields<Self>>(fields: &mut F) {
|
||||||
|
|
|
@ -103,7 +103,7 @@ impl Workspace {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[pyo3(name = "clear_callback")]
|
#[pyo3(name = "clear_callback")]
|
||||||
fn pyclear_callbacl(&self, _py: Python) {
|
fn pyclear_callback(&self, _py: Python) {
|
||||||
self.clear_callback();
|
self.clear_callback();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue