fix: Do not duplicate ctx expr in check_call!
(cherry picked from commit 9b6f0c1e66d80ec2e92ce079152edb22c05e9b1e)
This commit is contained in:
parent
870c03ee4d
commit
bf6dbd3f1e
3 changed files with 38 additions and 17 deletions
|
|
@ -40,7 +40,7 @@ mod tests {
|
|||
fn setup() {
|
||||
let mut ctx = context::Context::new();
|
||||
unsafe {
|
||||
check_call!(raw::libstore_init[ctx]).unwrap();
|
||||
check_call!(raw::libstore_init[&mut ctx]).unwrap();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue