Skip to content

Commit 6052c60

Browse files
committed
Add full stops to error rustdocs
In preparation for improving the error code make all the rustdocs complete sentences by adding a full stop.
1 parent d12513f commit 6052c60

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/lib.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -659,22 +659,22 @@ const GEN: [u32; 5] = [
659659
0x2a14_62b3,
660660
];
661661

662-
/// Error types for Bech32 encoding / decoding
662+
/// Error types for Bech32 encoding / decoding.
663663
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
664664
pub enum Error {
665-
/// String does not contain the separator character
665+
/// String does not contain the separator character.
666666
MissingSeparator,
667-
/// The checksum does not match the rest of the data
667+
/// The checksum does not match the rest of the data.
668668
InvalidChecksum,
669-
/// The data or human-readable part is too long or too short
669+
/// The data or human-readable part is too long or too short.
670670
InvalidLength,
671-
/// Some part of the string contains an invalid character
671+
/// Some part of the string contains an invalid character.
672672
InvalidChar(char),
673-
/// Some part of the data has an invalid value
673+
/// Some part of the data has an invalid value.
674674
InvalidData(u8),
675-
/// The bit conversion failed due to a padding issue
675+
/// The bit conversion failed due to a padding issue.
676676
InvalidPadding,
677-
/// The whole string must be of one case
677+
/// The whole string must be of one case.
678678
MixedCase,
679679
}
680680

0 commit comments

Comments
 (0)