mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-24 16:14:48 +01:00
Merge pull request #42 from hexedtech/fix/cb-typos
fix: typos in clear_callback
This commit is contained in:
commit
0a7a7baeeb
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