Skip to content

Commit

Permalink
Use Iterator from the prelude (#673)
Browse files Browse the repository at this point in the history
CI is [failing][failure] due to unused_imports because Iterator is
already in the prelude. Removing it fixes things up.

[failure]: https://github.com/tokio-rs/bytes/actions/runs/8034858583/job/21946873895
  • Loading branch information
braddunbar authored Mar 2, 2024
1 parent 4628927 commit 99584cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bytes_mut.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use core::iter::{FromIterator, Iterator};
use core::iter::FromIterator;
use core::mem::{self, ManuallyDrop, MaybeUninit};
use core::ops::{Deref, DerefMut};
use core::ptr::{self, NonNull};
Expand Down

0 comments on commit 99584cc

Please sign in to comment.