Skip to content

Commit d9e4a42

Browse files
committed
chore: fix some minor issues in comments
Signed-off-by: goldlinker <[email protected]>
1 parent d14e092 commit d9e4a42

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ encode and decode ASN.1 objects in binary.
3939
[X.690] also defines Distinguished Encoding Rules (DER), which is BER with added rules to
4040
ensure canonical and unequivocal binary representation of objects.
4141

42-
The choice of which one to use is usually guided by the speficication of the data format based
42+
The choice of which one to use is usually guided by the specification of the data format based
4343
on BER or DER: for example, X.509 uses DER as encoding representation.
4444

4545
See the related modules for object definitions, functions, and example:

UPGRADING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Header names have changed:
1010

1111
Changing the names should be enough for upgrades.
1212

13-
To eventually ease upgrades, a new module (`der_parser::ber::compat`) has been added, to provide aliases for these types. It must be imported explicitely.
13+
To eventually ease upgrades, a new module (`der_parser::ber::compat`) has been added, to provide aliases for these types. It must be imported explicitly.
1414

1515
Header fields are now private. Getters/setters have been added, and must be used to access/modify fields. Replace:
1616
- `hdr.len` by `hdr.length()`

src/der/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ pub fn parse_der_integer(i: &[u8]) -> DerResult<'_> {
131131
/// Read an bitstring value
132132
///
133133
/// To access the content as plain bytes, you will have to
134-
/// interprete the resulting tuple which will contain in
134+
/// interpret the resulting tuple which will contain in
135135
/// its first item the number of padding bits left at
136136
/// the end of the bit string, and in its second item
137137
/// a `BitStringObject` structure which will, in its sole

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
//! [X.690] also defines Distinguished Encoding Rules (DER), which is BER with added rules to
2828
//! ensure canonical and unequivocal binary representation of objects.
2929
//!
30-
//! The choice of which one to use is usually guided by the speficication of the data format based
30+
//! The choice of which one to use is usually guided by the specification of the data format based
3131
//! on BER or DER: for example, X.509 uses DER as encoding representation.
3232
//!
3333
//! See the related modules for object definitions, functions, and example:

0 commit comments

Comments
 (0)