Merge pull request #42 from hexedtech/fix/cb-typos

fix: typos in clear_callback
This commit is contained in:
frelodev 2024-10-10 22:32:55 +02:00 committed by GitHub
commit 0a7a7baeeb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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();
}