mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
use function
This commit is contained in:
parent
2d8b603b54
commit
f66dfecc16
1 changed files with 1 additions and 1 deletions
|
|
@ -124,7 +124,7 @@ impl Reader {
|
|||
buffer.insert(&mut buffer.end_iter(), "\n");
|
||||
|
||||
// Update reader title using first gemtext header match
|
||||
if title == None {
|
||||
if title.is_none() {
|
||||
title = Some(header.value.clone());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue