We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Choice
Application
Private
1 parent 858f3af commit fa9f2f2Copy full SHA for fa9f2f2
der/src/asn1/internal_macros.rs
@@ -169,7 +169,7 @@ macro_rules! impl_custom_class {
169
T: Decode<'a> + Tagged,
170
{
171
fn can_decode(tag: Tag) -> bool {
172
- tag.is_context_specific()
+ tag.class() == Class::$class_enum_name
173
}
174
175
@@ -303,7 +303,7 @@ macro_rules! impl_custom_class_ref {
303
304
305
impl<'a, T> $ref_class_type_name<'a, T> {
306
- /// Convert to a [`ContextSpecific`].
+ /// Convert to a [`EncodeValue`] object using [`EncodeValueRef`].
307
fn encoder(&self) -> $class_type_name<EncodeValueRef<'a, T>> {
308
$class_type_name {
309
tag_number: self.tag_number,
0 commit comments