From 7c879c8abed409900b245193b6382298fafd76f7 Mon Sep 17 00:00:00 2001 From: TSUYUSATO Kitsune Date: Tue, 7 Sep 2021 18:14:24 +0900 Subject: [PATCH] Fix typos (#11163) Using codespell, some typos are found. - encypted -> encrypted - writter -> written (See http://xmlsoft.org/html/libxml-tree.html#xmlOutputBuffer) - SYNOPSYS -> SYNOPSIS --- man/crystal.1 | 2 +- src/openssl/cipher.cr | 2 +- src/xml/libxml2.cr | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/man/crystal.1 b/man/crystal.1 index 541163934fc2..282d590e9655 100644 --- a/man/crystal.1 +++ b/man/crystal.1 @@ -6,7 +6,7 @@ .Sh NAME .Nm crystal .Nd Compiler for the Crystal language. -.Sh SYNOPSYS +.Sh SYNOPSIS .Nm command .Op switches diff --git a/src/openssl/cipher.cr b/src/openssl/cipher.cr index 0c45de34ce69..7a766974c4bd 100644 --- a/src/openssl/cipher.cr +++ b/src/openssl/cipher.cr @@ -92,7 +92,7 @@ class OpenSSL::Cipher cipherinit end - # Add the data to be encypted or decrypted to this cipher's buffer. + # Add the data to be encrypted or decrypted to this cipher's buffer. def update(data) slice = data.to_slice buffer_length = slice.size + block_size diff --git a/src/xml/libxml2.cr b/src/xml/libxml2.cr index 63657b2ae000..6aca4f8324aa 100644 --- a/src/xml/libxml2.cr +++ b/src/xml/libxml2.cr @@ -165,7 +165,7 @@ lib LibXML xmlCharEncodingHandlerPtr : Void* buffer : Void* conv : Void* - writter : Int + written : Int error : Int end