Merge pull request 'Fix minor typo' (#32) from babaiserror/exercises:typo into main

Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/32
This commit is contained in:
Chris Boesch 2023-12-30 16:34:16 +00:00
commit e7c106ba3a

View file

@ -49,7 +49,7 @@ fn isPangram(str: []const u8) bool {
// then we set the bit at the position // then we set the bit at the position
// //
// to do this, we use a little trick: // to do this, we use a little trick:
// since the letters in the ASCI table start at 65 // since the letters in the ASCII table start at 65
// and are numbered sequentially, we simply subtract the // and are numbered sequentially, we simply subtract the
// first letter (in this case the 'a') from the character // first letter (in this case the 'a') from the character
// found, and thus get the position of the desired bit // found, and thus get the position of the desired bit