mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-05 08:37:46 +00:00
use typos
for corrections (#833)
I used [typos](https://github.com/crate-ci/typos/). I manually checked all the corrections and they seem safe to me. There are still some left, but those in this PR are good
This commit is contained in:
parent
a0aa600153
commit
afde2592a6
42 changed files with 102 additions and 90 deletions
|
@ -91,7 +91,7 @@ export def isleap [year: int] {
|
|||
if ( (($year mod 4) == 0 and ($year mod 100) != 0) or ($year mod 400) == 0 ) { echo "It is a leap year." } else { echo "It is not a leap year."}
|
||||
}
|
||||
|
||||
#Greatest common divisior (gcd) between 2 integers
|
||||
#Greatest common divisor (gcd) between 2 integers
|
||||
export def gcd [a: int, b:int] {
|
||||
if $a < $b {
|
||||
gcd $b $a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue