1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-28 01:32:57 +01:00

make Pause::new public

This commit is contained in:
Nikolay Kim 2018-04-06 12:34:24 -07:00
parent 5bd5f67d79
commit 2d4ee0ee01

View File

@ -80,7 +80,7 @@ pub struct Pause {
impl Pause {
/// Create message with pause duration parameter
fn new(time: Duration) -> Pause {
pub fn new(time: Duration) -> Pause {
Pause{time: Some(time)}
}
}