mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-24 08:22:59 +01:00
make Pause::new public
This commit is contained in:
parent
5bd5f67d79
commit
2d4ee0ee01
@ -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)}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user