morristai opened a new pull request, #2886:
URL: https://github.com/apache/incubator-opendal/pull/2886

   ## Description
   <!-- Provide a brief summary of the changes introduced by this PR. -->
   We use `PhantomPinned` in `ReadFuture` to ensure that `!Unpin` is not 
implemented, pin_project provides a concise usage with `!Unpin` as an argument. 
You can find more information here: 
https://docs.rs/pin_project/1.1.3/pin_project/attr.pin_project.html#unpin. This 
approach is equivalent to the current code, but I've found it to be more 
readable. If the maintainers do not consider it necessary, I will close this 
pull request.
   
   ## Additional Notes
   <!-- Add any additional information or notes here. -->
   
![image](https://github.com/apache/incubator-opendal/assets/10728152/294e9aea-bd12-4dbd-b3d6-93b8a60a702d)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to