mirror of
https://codeberg.org/ziglings/exercises.git
synced 2024-12-27 01:46:29 +00: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
|
// 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
|
||||||
|
|
Loading…
Reference in a new issue