Skip to content

Commit 4e76e5f

Browse files
committed
fix CI for recent rustc
1 parent a95a944 commit 4e76e5f

File tree

6 files changed

+12
-1
lines changed

6 files changed

+12
-1
lines changed

src/collections/mod.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,17 @@ pub mod hash_set;
1111
pub mod linked_list;
1212
pub mod vec_deque;
1313

14+
#[allow(unused)]
1415
pub use binary_heap::BinaryHeap;
16+
#[allow(unused)]
1517
pub use btree_map::BTreeMap;
18+
#[allow(unused)]
1619
pub use btree_set::BTreeSet;
20+
#[allow(unused)]
1721
pub use hash_map::HashMap;
22+
#[allow(unused)]
1823
pub use hash_set::HashSet;
24+
#[allow(unused)]
1925
pub use linked_list::LinkedList;
26+
#[allow(unused)]
2027
pub use vec_deque::VecDeque;

src/option/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
66
mod from_stream;
77

8+
#[allow(unused)]
89
#[doc(inline)]
910
pub use std::option::Option;
1011

src/result/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
66
mod from_stream;
77

8+
#[allow(unused)]
89
#[doc(inline)]
910
pub use std::result::Result;
1011

src/string/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
mod extend;
66
mod from_stream;
77

8+
#[allow(unused)]
89
#[doc(inline)]
910
pub use std::string::String;

src/sync/waker_set.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ impl WakerSet {
149149
/// Returns `true` if at least one operation was notified.
150150
#[cold]
151151
fn notify(&self, n: Notify) -> bool {
152-
let mut inner = &mut *self.lock();
152+
let inner = &mut *self.lock();
153153
let mut notified = false;
154154

155155
for (_, opt_waker) in inner.entries.iter_mut() {

src/vec/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
mod extend;
77
mod from_stream;
88

9+
#[allow(unused)]
910
#[doc(inline)]
1011
pub use std::vec::Vec;

0 commit comments

Comments
 (0)