Skip to content

Commit 3a72ae1

Browse files
committed
Remove deprecated aliases in dispatch2
1 parent 80899e4 commit 3a72ae1

File tree

2 files changed

+1
-20
lines changed

2 files changed

+1
-20
lines changed

crates/dispatch2/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
2222
### Removed
2323
- **BREAKING**: Removed `QueueAfterError`.
2424
- **BREAKING**: Removed incorrect `TryFrom<Duration>` impl on `DispatchTime`.
25+
- **BREAKING**: Removed deprecated aliases.
2526

2627
### Fixed
2728
- Fixed reference counting in `DispatchSemaphoreGuard::release`.

crates/dispatch2/src/lib.rs

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -104,26 +104,6 @@ pub use self::workloop::DispatchWorkloop;
104104
// Helper type
105105
type OpaqueData = UnsafeCell<PhantomData<(*const UnsafeCell<()>, PhantomPinned)>>;
106106

107-
/// Deprecated alias for [`DispatchGroup`].
108-
#[deprecated = "renamed to DispatchGroup"]
109-
pub type Group = DispatchGroup;
110-
111-
/// Deprecated alias for [`DispatchOnce`].
112-
#[deprecated = "renamed to DispatchOnce"]
113-
pub type Once = DispatchOnce;
114-
115-
/// Deprecated alias for [`DispatchQueue`].
116-
#[deprecated = "renamed to DispatchQueue"]
117-
pub type Queue = DispatchQueue;
118-
119-
/// Deprecated alias for [`DispatchSemaphore`].
120-
#[deprecated = "renamed to DispatchSemaphore"]
121-
pub type Semaphore = DispatchSemaphore;
122-
123-
/// Deprecated alias for [`DispatchWorkloop`].
124-
#[deprecated = "renamed to DispatchWorkloop"]
125-
pub type WorkloopQueue = DispatchWorkloop;
126-
127107
#[cfg_attr(target_vendor = "apple", link(name = "System", kind = "dylib"))]
128108
#[cfg_attr(not(target_vendor = "apple"), link(name = "dispatch", kind = "dylib"))]
129109
extern "C" {}

0 commit comments

Comments
 (0)