Skip to content

Commit 6a45ad3

Browse files
authored
Revert "mcf: improve Base64 comments" (#2026)
This reverts commit 7315095 (#2025) Though it confused me, the original text is correct about the ordering.
1 parent 7315095 commit 6a45ad3

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

mcf/src/base64.rs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,11 @@ use alloc::{string::String, vec::Vec};
99
#[derive(Copy, Clone, Debug, Eq, PartialEq, PartialOrd, Ord)]
1010
#[non_exhaustive]
1111
pub enum Base64 {
12-
/// bcrypt encoding. Also used by the following schemes:
13-
/// - scrypt
14-
/// - yescrypt
12+
/// bcrypt encoding.
1513
///
1614
/// ```text
17-
/// ./ [0-9] [A-Z] [a-z]
18-
/// 0x2e-0x2f, 0x30-0x39, 0x41-0x5a, 0x61-0x7a
15+
/// ./ [A-Z] [a-z] [0-9]
16+
/// 0x2e-0x2f, 0x41-0x5a, 0x61-0x7a, 0x30-0x39
1917
/// ```
2018
Bcrypt,
2119

@@ -27,7 +25,7 @@ pub enum Base64 {
2725
/// ```
2826
Crypt,
2927

30-
/// `crypt(3)` Base64 encoding. Used by the following schemes:
28+
/// `crypt(3)` Base64 encoding for the following schemes:
3129
/// - sha1_crypt,
3230
/// - sha256_crypt,
3331
/// - sha512_crypt,

0 commit comments

Comments
 (0)