Skip to content

Commit 94e0400

Browse files
bors[bot]taiki-e
andauthored
Merge #974
974: Sync with v0.8 branch r=taiki-e a=taiki-e Co-authored-by: Taiki Endo <[email protected]>
2 parents 5b7499b + 9515bd1 commit 94e0400

File tree

4 files changed

+19
-3
lines changed

4 files changed

+19
-3
lines changed

crossbeam-channel/CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,29 @@
1+
# Version 0.5.8
2+
3+
- Fix race condition in unbounded channel. (#972)
4+
15
# Version 0.5.7
26

7+
**Note:** This release has been yanked due to bug fixed in 0.5.8.
8+
39
- Improve handling of very large timeout. (#953)
410

511
# Version 0.5.6
612

13+
**Note:** This release has been yanked due to bug fixed in 0.5.8.
14+
715
- Bump the minimum supported Rust version to 1.38. (#877)
816

917
# Version 0.5.5
1018

19+
**Note:** This release has been yanked due to bug fixed in 0.5.8.
20+
1121
- Replace Spinlock with Mutex. (#835)
1222

1323
# Version 0.5.4
1424

25+
**Note:** This release has been yanked due to bug fixed in 0.5.8.
26+
1527
- Workaround a bug in upstream related to TLS access on AArch64 Linux. (#802)
1628

1729
# Version 0.5.3
@@ -28,6 +40,8 @@
2840

2941
# Version 0.5.1
3042

43+
**Note:** This release has been yanked due to bug fixed in 0.5.8.
44+
3145
- Fix memory leak in unbounded channel. (#669)
3246

3347
# Version 0.5.0

crossbeam-channel/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name = "crossbeam-channel"
44
# - Update CHANGELOG.md
55
# - Update README.md
66
# - Create "crossbeam-channel-X.Y.Z" git tag
7-
version = "0.5.7"
7+
version = "0.5.8"
88
edition = "2018"
99
rust-version = "1.38"
1010
license = "MIT OR Apache-2.0"

crossbeam-channel/tests/same_channel.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![allow(clippy::redundant_clone)]
2+
13
use std::time::Duration;
24

35
use crossbeam_channel::{after, bounded, never, tick, unbounded};

crossbeam-queue/src/array_queue.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -528,9 +528,9 @@ impl<T> Iterator for IntoIter<T> {
528528
lap.wrapping_add(value.one_lap)
529529
};
530530
*value.head.get_mut() = new;
531-
Option::Some(val)
531+
Some(val)
532532
} else {
533-
Option::None
533+
None
534534
}
535535
}
536536
}

0 commit comments

Comments
 (0)