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

src: Remove unused imports raised by linter #104

Merged
merged 1 commit into from
Mar 14, 2024
Merged

Conversation

qmonnet
Copy link
Owner

@qmonnet qmonnet commented Mar 14, 2024

I observed the following warning while running the tests, let's address
them:

warning: the item `time` is imported redundantly
  --> src/helpers.rs:22:5
   |
22 | use time;
   |     ^^^^
   |
  ::: src/lib.rs:32:1
   |
32 | extern crate time;
   | ------------------ the item `time` is already imported here
   |
   = note: `#[warn(unused_imports)]` on by default

warning: the item `std` is imported redundantly
 --> src/jit.rs:8:5
  |
8 | use std;
  |     ^^^ the item `std` is already imported by prelude

I observed the following warning while running the tests, let's address
them:

    warning: the item `time` is imported redundantly
      --> src/helpers.rs:22:5
       |
    22 | use time;
       |     ^^^^
       |
      ::: src/lib.rs:32:1
       |
    32 | extern crate time;
       | ------------------ the item `time` is already imported here
       |
       = note: `#[warn(unused_imports)]` on by default

    warning: the item `std` is imported redundantly
     --> src/jit.rs:8:5
      |
    8 | use std;
      |     ^^^ the item `std` is already imported by prelude

Signed-off-by: Quentin Monnet <[email protected]>
@qmonnet qmonnet merged commit 505d54a into main Mar 14, 2024
7 checks passed
@qmonnet qmonnet deleted the pr/unused-imports branch March 14, 2024 12:08
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