File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -339,11 +339,11 @@ impl Process {
339339 /// of a specific type. The buffer does not need to be initialized. After
340340 /// the slice successfully got filled, the initialized slice is returned.
341341 #[ inline]
342- pub fn read_into_uninit_slice < T : CheckedBitPattern > (
342+ pub fn read_into_uninit_slice < ' buf , T : CheckedBitPattern > (
343343 & self ,
344344 address : impl Into < Address > ,
345- slice : & mut [ MaybeUninit < T > ] ,
346- ) -> Result < & mut [ T ] , Error > {
345+ slice : & ' buf mut [ MaybeUninit < T > ] ,
346+ ) -> Result < & ' buf mut [ T ] , Error > {
347347 // SAFETY: The process handle is guaranteed to be valid. We provide a
348348 // valid pointer and length to the buffer. We also do proper error
349349 // handling afterwards. The buffer is guaranteed to be initialized
You can’t perform that action at this time.
0 commit comments