mirror of
https://github.com/urbit/ares.git
synced 2024-12-23 13:25:03 +03:00
guard: remove stale comments
This commit is contained in:
parent
42ffde2208
commit
756145b17c
@ -91,12 +91,7 @@ pub fn call_with_guard<F: FnMut() -> Result>(
|
||||
ret_pp,
|
||||
);
|
||||
|
||||
// eprintln!("\r BEFORE:");
|
||||
// eprintln!("\r ret = {:?}", ret);
|
||||
// eprintln!("\r ret_p = {:p}, {:?}", ret_p as *mut Result, *(ret_p as *mut Result));
|
||||
// eprintln!("\r ret_pp = {:p}, {:p}, {:?}", ret_pp, *ret_pp, **(ret_pp as *mut *mut Result));
|
||||
if res == 0 {
|
||||
// TODO: come back to this
|
||||
permit_alloc(|| {
|
||||
let result_box = Box::from_raw(ret_p as *mut Result);
|
||||
*result_box
|
||||
|
Loading…
Reference in New Issue
Block a user