You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I added tempfile crate in #2823 .
One pitfall is the usage of TempDir::into_path.
According to the API doc, TempDir::into_path leads the corresponding temporary directory not deleted automatically.
To avoid resource leak I proposes to add a clippy rule.
The text was updated successfully, but these errors were encountered:
I added
tempfile
crate in #2823 .One pitfall is the usage of
TempDir::into_path
.According to the API doc,
TempDir::into_path
leads the corresponding temporary directory not deleted automatically.To avoid resource leak I proposes to add a clippy rule.
The text was updated successfully, but these errors were encountered: