mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-12-22 06:03:09 -05:00
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:
commit
e7c106ba3a
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ fn isPangram(str: []const u8) bool {
|
|||
// then we set the bit at the position
|
||||
//
|
||||
// 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
|
||||
// first letter (in this case the 'a') from the character
|
||||
// found, and thus get the position of the desired bit
|
||||
|
|
Loading…
Reference in a new issue