Skip to content

Commit

Permalink
Kill redundant imports.
Browse files Browse the repository at this point in the history
Recently Rust starting warning about redundant imports, e.g.:
```
warning: the item `Extend` is imported redundantly
   --> runtime/src/lib.rs:39:5
    |
39  | use std::iter::Extend;
    |     ^^^^^^^^^^^^^^^^^
```

This change removes all such imports.
  • Loading branch information
vext01 committed Mar 25, 2024
1 parent 8d5f2f2 commit bf79b26
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion plugin/src/arch/aarch64/ast.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use syn;
use proc_macro2::Span;

use crate::common::{Size, Jump};
Expand Down
1 change: 0 additions & 1 deletion plugin/src/arch/x64/ast.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use syn;
use proc_macro2::Span;

use crate::common::{Size, Jump};
Expand Down
1 change: 0 additions & 1 deletion plugin/src/serialize.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use syn;
use syn::parse;
use syn::spanned::Spanned;
use proc_macro2::{Span, TokenStream, TokenTree, Literal};
Expand Down
1 change: 0 additions & 1 deletion runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ use crate::components::{MemoryManager, LabelRegistry, RelocRegistry, ManagedRelo
use crate::relocations::Relocation;

use std::hash::Hash;
use std::iter::Extend;
use std::sync::{Arc, RwLock, RwLockReadGuard};
use std::io;
use std::error;
Expand Down

0 comments on commit bf79b26

Please sign in to comment.