diff --git a/src/enc.rs b/src/enc.rs index 14edcfcb..699d432b 100644 --- a/src/enc.rs +++ b/src/enc.rs @@ -45,7 +45,7 @@ pub trait Encode: AsnType { } /// A **data format** encode any ASN.1 data type. -/// Const `FC` is the count of fields in sequence or set. +/// Const `FC` is the count of root components in sequence or set. pub trait Encoder { type Ok; type Error: Error + Into + From; @@ -191,7 +191,7 @@ pub trait Encoder { /// Encode a `SEQUENCE` value. /// - /// Const `N` is the count of fields in sequence or set. + /// Const `N` is the count of root components in sequence or set. /// Generic `C` is the sequence value. fn encode_sequence( &mut self, @@ -212,7 +212,7 @@ pub trait Encoder { /// Encode a `SET` value. /// - /// Const `N` is the count of fields in sequence or set. + /// Const `N` is the count of root components in sequence or set. /// Generic `C` is the set value. fn encode_set( &mut self,