Skip to content

Commit

Permalink
fix: build error
Browse files Browse the repository at this point in the history
```
 Compiling torrust-tracker-contrib-bencode v3.0.0-alpha.12-develop (/home/runner/work/torrust-tracker/torrust-tracker/contrib/bencode)
error: the item `Extend` is imported redundantly
 --> contrib/bencode/src/mutable/encode.rs:1:5
  |
1 | use std::iter::Extend;
  |     ^^^^^^^^^^^^^^^^^
 --> /rustc/2bf78d12d33ae02d10010309a0d85dd04e7cff72/library/std/src/prelude/mod.rs:129:13
  |
  = note: the item `Extend` is already defined here
  |
  = note: `-D unused-imports` implied by `-D unused`
  = help: to override `-D unused` add `#[allow(unused_imports)]`
```
  • Loading branch information
josecelano committed Feb 19, 2024
1 parent 32727ca commit b36e68e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions contrib/bencode/src/mutable/encode.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
use std::iter::Extend;

use crate::access::bencode::{BRefAccess, RefKind};
use crate::access::dict::BDictAccess;
use crate::access::list::BListAccess;
Expand Down

0 comments on commit b36e68e

Please sign in to comment.