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

fix: unused import warning in plain cargo test #209

Merged
merged 1 commit into from
Apr 21, 2024

Conversation

konstin
Copy link
Member

@konstin konstin commented Apr 19, 2024

Before:

$ cargo test
     Compiling pubgrub v0.2.1 (/home/konsti/projects/pubgrub)
  warning: unused import: `pubgrub::version::SemanticVersion`
    --> tests/proptest.rs:14:5
     |
  14 | use pubgrub::version::SemanticVersion;
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: `#[warn(unused_imports)]` on by default

```
$ cargo test
     Compiling pubgrub v0.2.1 (/home/konsti/projects/pubgrub)
  warning: unused import: `pubgrub::version::SemanticVersion`
    --> tests/proptest.rs:14:5
     |
  14 | use pubgrub::version::SemanticVersion;
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: `#[warn(unused_imports)]` on by default
```
Copy link
Member

@Eh2406 Eh2406 left a comment

Choose a reason for hiding this comment

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

Thanks

@Eh2406 Eh2406 added this pull request to the merge queue Apr 21, 2024
Merged via the queue into pubgrub-rs:dev with commit eb5d174 Apr 21, 2024
5 checks passed
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.

2 participants