Add scripts/codespell.sh and spellcheck

This commit is contained in:
link2xt
2023-02-28 12:54:37 +00:00
parent 627cf20074
commit 7e5a8714a0
65 changed files with 143 additions and 136 deletions

View File

@@ -480,7 +480,7 @@ mod tests {
static CTEXT_SIGNED: OnceCell<String> = OnceCell::const_new();
static CTEXT_UNSIGNED: OnceCell<String> = OnceCell::const_new();
/// A cyphertext encrypted to Alice & Bob, signed by Alice.
/// A ciphertext encrypted to Alice & Bob, signed by Alice.
async fn ctext_signed() -> &'static String {
CTEXT_SIGNED
.get_or_init(|| async {
@@ -495,7 +495,7 @@ mod tests {
.await
}
/// A cyphertext encrypted to Alice & Bob, not signed.
/// A ciphertext encrypted to Alice & Bob, not signed.
async fn ctext_unsigned() -> &'static String {
CTEXT_UNSIGNED
.get_or_init(|| async {