fix: typos in clear_callback

This commit is contained in:
əlemi 2024-10-10 22:20:03 +02:00
parent fb35ddb3cd
commit fb9492a2fb
Signed by: alemi
GPG key ID: A4895B84D311642C
2 changed files with 2 additions and 2 deletions

View file

@ -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) {

View file

@ -103,7 +103,7 @@ impl Workspace {
}
#[pyo3(name = "clear_callback")]
fn pyclear_callbacl(&self, _py: Python) {
fn pyclear_callback(&self, _py: Python) {
self.clear_callback();
}