From 47cc70833f18b73d9e5896fd95c2da6234945ba8 Mon Sep 17 00:00:00 2001 From: Niklas Saari Date: Sat, 14 Sep 2024 18:47:21 +0300 Subject: [PATCH] Doc fix --- src/enc.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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,