fix the ptr::set_memory docstring