Skip to content

Commit

Permalink
ext: mark new constructor as test-only
Browse files Browse the repository at this point in the history
  • Loading branch information
cpu committed Dec 10, 2023
1 parent 973271c commit 0225a26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rcgen/src/ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ impl Extensions {
/// # Errors
///
/// Returns [Error::DuplicateExtension] if any of the extensions have the same OID.
#[cfg(test)]
pub(crate) fn new(
extensions: impl IntoIterator<Item = Box<dyn Extension>>,
) -> Result<Self, Error> {
Expand Down

0 comments on commit 0225a26

Please sign in to comment.