Skip to content

Commit

Permalink
fix CI for recent rustc
Browse files Browse the repository at this point in the history
  • Loading branch information
Keruspe committed Nov 23, 2023
1 parent a95a944 commit b38ff4c
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ jobs:
target:
- i686-unknown-linux-gnu
- powerpc-unknown-linux-gnu
# - powerpc64-unknown-linux-gnu
- mips-unknown-linux-gnu
- powerpc64-unknown-linux-gnu
# - mips-unknown-linux-gnu
- arm-linux-androideabi

steps:
Expand Down
7 changes: 7 additions & 0 deletions src/collections/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,17 @@ pub mod hash_set;
pub mod linked_list;
pub mod vec_deque;

#[allow(unused)]
pub use binary_heap::BinaryHeap;
#[allow(unused)]
pub use btree_map::BTreeMap;
#[allow(unused)]
pub use btree_set::BTreeSet;
#[allow(unused)]
pub use hash_map::HashMap;
#[allow(unused)]
pub use hash_set::HashSet;
#[allow(unused)]
pub use linked_list::LinkedList;
#[allow(unused)]
pub use vec_deque::VecDeque;
1 change: 1 addition & 0 deletions src/option/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
mod from_stream;

#[allow(unused)]
#[doc(inline)]
pub use std::option::Option;

Expand Down
1 change: 1 addition & 0 deletions src/result/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
mod from_stream;

#[allow(unused)]
#[doc(inline)]
pub use std::result::Result;

Expand Down
1 change: 1 addition & 0 deletions src/string/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
mod extend;
mod from_stream;

#[allow(unused)]
#[doc(inline)]
pub use std::string::String;
2 changes: 1 addition & 1 deletion src/sync/waker_set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ impl WakerSet {
/// Returns `true` if at least one operation was notified.
#[cold]
fn notify(&self, n: Notify) -> bool {
let mut inner = &mut *self.lock();
let inner = &mut *self.lock();
let mut notified = false;

for (_, opt_waker) in inner.entries.iter_mut() {
Expand Down
1 change: 1 addition & 0 deletions src/vec/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
mod extend;
mod from_stream;

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

0 comments on commit b38ff4c

Please sign in to comment.