From 95bda486ec1f3ee068d986c1486f12b009287e0d Mon Sep 17 00:00:00 2001 From: Philipp Korber Date: Thu, 22 Nov 2018 13:21:44 +0100 Subject: chore(AdditionalCIds) constructor now `pub(crate)` - this type needs to be public to be used by other apis in type signatures but doesn't need to be created by other crates --- src/additional_cid.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/additional_cid.rs b/src/additional_cid.rs index 7be0786..eecf2e7 100644 --- a/src/additional_cid.rs +++ b/src/additional_cid.rs @@ -17,7 +17,7 @@ impl<'a> AdditionalCIds<'a> { /// /// All resources in the all hash maps have to be loaded to the /// `Data` or `EncData` variants or using `get` can panic. - pub fn new(additional_resources: &'a [&'a HashMap]) -> Self { + pub(crate) fn new(additional_resources: &'a [&'a HashMap]) -> Self { AdditionalCIds { additional_resources } } -- cgit v1.2.3