mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-10-01 12:20:39 +00:00
Derive Clone for delay_queue::Key (#730)
Improves API ergonomics with minimal forwards-compatibility hazard.
This commit is contained in:
parent
32e1cafb57
commit
5321550534
@ -171,7 +171,7 @@ pub struct Expired<T> {
|
||||
/// documentation for more details.
|
||||
///
|
||||
/// [`DelayQueue`]: struct.DelayQueue.html
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct Key {
|
||||
index: usize,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user