refactor: fix lint
ci/woodpecker/push/woodpecker Pipeline was successful Details

feat/users
Tomáš Mládek 2024-03-30 16:45:04 +01:00
parent 175518e3a6
commit 669b348160
2 changed files with 2 additions and 4 deletions

View File

@ -349,7 +349,7 @@ async fn main() -> Result<()> {
if !exists {
warn!(
"Couldn't locate Web UI directory ({:?}), disabling...",
WEBUI_PATH.to_owned()
*WEBUI_PATH
);
}
exists

View File

@ -178,9 +178,7 @@ pub fn execute(
var_name.clone(),
subquery_results
.iter()
.map(|e| {
e.attribute.parse().map(|a| EntryPart::Attribute(a))
})
.map(|e| e.attribute.parse().map(EntryPart::Attribute))
.collect::<Result<Vec<EntryPart>, _>>()?,
);
}