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

   Related issue: #2835 
   
   I added tempfile crate in 
https://github.com/apache/incubator-opendal/pull/2823 .
   One pitfall is the usage of TempDir::into_path.
   According to the [API 
doc](https://docs.rs/tempfile/latest/tempfile/struct.TempDir.html#method.into_path),
 TempDir::into_path leads the corresponding temporary directory not deleted 
automatically.
   To avoid resource leak I proposes to add a clippy rule.


-- 
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