Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

fix(remove redundant import) #2582

Merged
merged 1 commit into from
May 14, 2019
Merged

fix(remove redundant import) #2582

merged 1 commit into from
May 14, 2019

Conversation

niklasad1
Copy link
Member

@niklasad1 niklasad1 commented May 14, 2019

Fixes

    Checking srml-grandpa v2.0.0 (/home/niklasad1/Github/substrate/srml/grandpa)
warning: the item `HashSet` is imported redundantly
   --> core/network/src/sync/extra_requests.rs:307:7
    |
17  | use std::collections::{HashMap, HashSet, VecDeque};
    |                                 ------- the item `HashSet` is already imported here
...
307 |         use std::collections::HashSet;
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: #[warn(unused_imports)] on by default

Fixes

    Checking srml-grandpa v2.0.0 (/home/niklasad1/Github/substrate/srml/grandpa)
warning: the item `HashSet` is imported redundantly
   --> core/network/src/sync/extra_requests.rs:307:7
    |
17  | use std::collections::{HashMap, HashSet, VecDeque};
    |                                 ------- the item `HashSet` is already imported here
...
307 |         use std::collections::HashSet;
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: #[warn(unused_imports)] on by default
@parity-cla-bot
Copy link

It looks like this contributor signed our Contributor License Agreement. 👍

Many thanks,

Parity Technologies CLA Bot

1 similar comment
@parity-cla-bot
Copy link

It looks like this contributor signed our Contributor License Agreement. 👍

Many thanks,

Parity Technologies CLA Bot

@niklasad1 niklasad1 added the A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). label May 14, 2019
@svyatonik svyatonik merged commit 010e526 into master May 14, 2019
@svyatonik svyatonik deleted the na-fix-warn branch May 14, 2019 15:07
MTDK1 pushed a commit to bdevux/substrate that referenced this pull request Jul 10, 2019
Fixes warning: the item `HashSet` is imported redundantly
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants