Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit af8a289

Browse files
Fixed typos in src/ciphers/base64.rs (TheAlgorithms#941)
fixed typo issue
1 parent 6540508 commit af8a289

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/ciphers/base64.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ pub fn base64_decode(data: &str) -> Result<Vec<u8>, (&str, u8)> {
6969
'decodeloop: loop {
7070
while collected_bits < 8 {
7171
if let Some(nextbyte) = databytes.next() {
72-
// Finds the first occurence of the latest byte
72+
// Finds the first occurrence of the latest byte
7373
if let Some(idx) = CHARSET.iter().position(|&x| x == nextbyte) {
7474
byte_buffer |= ((idx & 0b00111111) as u16) << (10 - collected_bits);
7575
collected_bits += 6;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /