Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused use in doctest #363

Closed

Conversation

schneems
Copy link
Contributor

@schneems schneems commented Jun 6, 2024

The use std::fs in the for append_dir_all tests is not used. We can simplify this example by removing it.

The `use std::fs` in the for `append_dir_all` tests is not used. We can simplify this example by removing it.
@@ -365,7 +365,6 @@ impl<W: Write> Builder<W> {
/// # Examples
///
/// ```
/// use std::fs;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also saw that Clippy isn't running in CI, and there are quite a few warnings: https://gist.github.com/schneems/fd26378009f9ac28ef282226de6ba5e7. Before going overboard, I wanted to send this one small change. In searching history to see if that's intentional, I saw #79 (comment) where you prefer a different style than Clippy suggests (which makes me feel that you would be opposed to adding a clippy check to CI).

@schneems schneems closed this Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant