mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
use usize data type
This commit is contained in:
parent
9b22bd9eee
commit
ffc7019fc1
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ impl Gemini {
|
||||||
|
|
||||||
// Disable multiline format on at least one closing tag not found
|
// Disable multiline format on at least one closing tag not found
|
||||||
let is_multiline_enabled = {
|
let is_multiline_enabled = {
|
||||||
let mut t = 0;
|
let mut t: usize = 0;
|
||||||
for l in gemtext.lines() {
|
for l in gemtext.lines() {
|
||||||
if (l.starts_with(multiline::TAG) || l.ends_with(multiline::TAG))
|
if (l.starts_with(multiline::TAG) || l.ends_with(multiline::TAG))
|
||||||
&& Inline::from(l).is_none()
|
&& Inline::from(l).is_none()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue