mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 08:35:28 +00:00
use is_multiple_of
This commit is contained in:
parent
26eb9a1843
commit
ce4366086c
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ impl Gemini {
|
|||
t += 1;
|
||||
}
|
||||
}
|
||||
t == 0 || t % 2 == 0
|
||||
t == 0 || t.is_multiple_of(2)
|
||||
};
|
||||
|
||||
// Parse gemtext lines
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue