From 2d4ee0ee014744e22ea8bfa2b19c12d5187ccfa8 Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Fri, 6 Apr 2018 12:34:24 -0700 Subject: [PATCH] make Pause::new public --- src/client/connector.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/connector.rs b/src/client/connector.rs index dbd98bfb6..5e364ae9f 100644 --- a/src/client/connector.rs +++ b/src/client/connector.rs @@ -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)} } }