From ec1074a94cbe11919535e4f461fbf03c4f4b7f02 Mon Sep 17 00:00:00 2001 From: Kyle Date: Fri, 13 Aug 2021 09:39:29 -0400 Subject: [PATCH] Making Implicit and Explicit value's public (#30) --- src/types/prefix.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types/prefix.rs b/src/types/prefix.rs index c5bebda5..d1e45f22 100644 --- a/src/types/prefix.rs +++ b/src/types/prefix.rs @@ -4,14 +4,14 @@ use crate::{AsnType, Tag}; #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] pub struct Explicit { _tag: core::marker::PhantomData, - pub(crate) value: V, + pub value: V, } /// A newtype wrapper that will implicitly tag its value with `T`'s tag. #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] pub struct Implicit { _tag: core::marker::PhantomData, - pub(crate) value: V, + pub value: V, } macro_rules! tag_kind {