diff options
author | Philipp Korber <philippkorber@gmail.com> | 2018-11-22 13:21:44 +0100 |
---|---|---|
committer | Philipp Korber <philippkorber@gmail.com> | 2018-11-22 13:21:44 +0100 |
commit | 95bda486ec1f3ee068d986c1486f12b009287e0d (patch) | |
tree | bcdcbc342d3a54021c3861492079f6c0ffaf34f6 | |
parent | f6c2b38e31d2557a7edfa5b5d9c0332816e728d8 (diff) |
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
-rw-r--r-- | src/additional_cid.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<String, Resource>]) -> Self { + pub(crate) fn new(additional_resources: &'a [&'a HashMap<String, Resource>]) -> Self { AdditionalCIds { additional_resources } } |