Fix renamed to into_inner() warnings

This commit is contained in:
Matthew Rasmus 2015-01-07 20:26:49 -08:00
parent fc49e10f7e
commit b7a704b416
2 changed files with 2 additions and 2 deletions

View file

@ -155,7 +155,7 @@ fn get_jemalloc_stat(name: &'static str) -> Option<u64> {
let mut oldlen = size_of::<size_t>() as size_t;
let rv: c_int;
unsafe {
rv = je_mallctl(c_name.unwrap(), oldp, &mut oldlen, null_mut(), 0);
rv = je_mallctl(c_name.into_inner(), oldp, &mut oldlen, null_mut(), 0);
}
if rv == 0 { Some(old as u64) } else { None }
}