File tree 4 files changed +5
-5
lines changed
4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -289,7 +289,7 @@ mod tests {
289
289
290
290
#[ test]
291
291
fn encdec_normal ( ) {
292
- // The comments correspond to the decoded value from the ASN.1 playground when the bytes are inputed .
292
+ // The comments correspond to the decoded value from the ASN.1 playground when the bytes are inputted .
293
293
{
294
294
// rec1value R ::= 0
295
295
let val = 0.0 ;
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ pub trait SignatureAlgorithmIdentifier {
143
143
/// Algorithm parameters.
144
144
type Params : Tagged + EncodeValue ;
145
145
146
- /// `AlgorithmIdentifier` for the corresponding singature system.
146
+ /// `AlgorithmIdentifier` for the corresponding signature system.
147
147
const SIGNATURE_ALGORITHM_IDENTIFIER : AlgorithmIdentifier < Self :: Params > ;
148
148
}
149
149
@@ -153,7 +153,7 @@ pub trait SignatureAlgorithmIdentifier {
153
153
/// private keys.
154
154
#[ cfg( feature = "alloc" ) ]
155
155
pub trait DynSignatureAlgorithmIdentifier {
156
- /// `AlgorithmIdentifier` for the corresponding singature system.
156
+ /// `AlgorithmIdentifier` for the corresponding signature system.
157
157
fn signature_algorithm_identifier ( & self ) -> Result < AlgorithmIdentifierOwned > ;
158
158
}
159
159
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ pub struct Extension {
44
44
/// [RFC 5280 Section 4.1.2.9]: https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.9
45
45
pub type Extensions = alloc:: vec:: Vec < Extension > ;
46
46
47
- /// Trait to be implemented by extensions to allow them to be formated as x509 v3 extensions by
47
+ /// Trait to be implemented by extensions to allow them to be formatted as x509 v3 extensions by
48
48
/// builder.
49
49
pub trait AsExtension : AssociatedOid + der:: Encode {
50
50
/// Should the extension be marked critical
Original file line number Diff line number Diff line change @@ -453,7 +453,7 @@ fn load_certificate_chains() {
453
453
454
454
#[ cfg( feature = "arbitrary" ) ]
455
455
#[ test]
456
- // Purpose of this check is to ensure the arbitraty trait is provided for certificate variants
456
+ // Purpose of this check is to ensure the arbitrary trait is provided for certificate variants
457
457
#[ allow( unused) ]
458
458
fn certificate_arbitrary ( ) {
459
459
fn check_arbitrary < ' a > ( _arbitrary : impl arbitrary:: Arbitrary < ' a > ) { }
You can’t perform that action at this time.
0 commit comments