From a8bb696be89476470d90cdc832c8a109b284afe6 Mon Sep 17 00:00:00 2001 From: awiouy Date: Sat, 10 Feb 2018 08:23:46 +0100 Subject: [PATCH] core API: MercurySender::new --- core/src/mercury/sender.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mercury/sender.rs b/core/src/mercury/sender.rs index 67b4dc08..359e6907 100644 --- a/core/src/mercury/sender.rs +++ b/core/src/mercury/sender.rs @@ -11,7 +11,7 @@ pub struct MercurySender { impl MercurySender { // TODO: pub(super) when stable - pub fn new(mercury: MercuryManager, uri: String) -> MercurySender { + pub(crate) fn new(mercury: MercuryManager, uri: String) -> MercurySender { MercurySender { mercury: mercury, uri: uri,