mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 17:20:08 +00:00
use function
This commit is contained in:
parent
2d8b603b54
commit
f66dfecc16
@ -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…
x
Reference in New Issue
Block a user