chore: make clippy github action happy
This commit is contained in:
parent
975e8a480b
commit
4460730ca6
3 changed files with 7 additions and 13 deletions
|
@ -70,7 +70,7 @@ pub async fn results(
|
|||
|
||||
let no_result: Selector = Selector::parse(".no-results")?;
|
||||
|
||||
if let Some(_) = document.select(&no_result).next() {
|
||||
if document.select(&no_result).next().is_some() {
|
||||
return Err(EngineErrorKind::EmptyResultSet);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue