core API: MercurySender::new

This commit is contained in:
awiouy 2018-02-10 08:23:46 +01:00
parent b0244ad42d
commit a8bb696be8

View file

@ -11,7 +11,7 @@ pub struct MercurySender {
impl MercurySender { impl MercurySender {
// TODO: pub(super) when stable // TODO: pub(super) when stable
pub fn new(mercury: MercuryManager, uri: String) -> MercurySender { pub(crate) fn new(mercury: MercuryManager, uri: String) -> MercurySender {
MercurySender { MercurySender {
mercury: mercury, mercury: mercury,
uri: uri, uri: uri,