Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some comments #1050

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

dropbigfish
Copy link

fix some comments

Checklist:

  • Correct file headers (see CONTRIBUTING.md).
  • Formatted with SwiftFormat.
  • Tests added.

Changes proposed in this pull request:

Signed-off-by: dropbigfish <[email protected]>
@@ -54,7 +54,7 @@ final class StreamEncryptor: Cryptor, Updatable {
encrypted += self.worker.encrypt(block: chunk)
}

// omit unecessary calculation if not needed
// omit necessary calculation if not needed
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change changes the meaning

@@ -66,7 +66,7 @@ final class StreamDecryptor: Cryptor, Updatable {
plaintext = Array(try finalizingWorker.didDecryptLast(bytes: plaintext.slice))
}

// omit unecessary calculation if not needed
// omit necessary calculation if not needed
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants