fix the ptr::set_memory docstring

I don't think this will even show up in the documentation right now.... but it should still be correct :).