Skip to content

Commit b92e237

Browse files
committed
style: rustfmt folder_ids closure
1 parent 2cb7500 commit b92e237

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/api.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3890,10 +3890,9 @@ fn parse_assistant_thread_open_html(html: &str) -> Result<AssistantThread, KagiE
38903890
.filter(|value| !value.is_empty())
38913891
.ok_or_else(|| KagiError::Parse("assistant thread html missing title".to_string()))?;
38923892

3893-
let folder_ids = serde_json::from_str::<Vec<String>>(
3894-
element.value().attr("data-folders").unwrap_or("[]"),
3895-
)
3896-
.unwrap_or_default();
3893+
let folder_ids =
3894+
serde_json::from_str::<Vec<String>>(element.value().attr("data-folders").unwrap_or("[]"))
3895+
.unwrap_or_default();
38973896

38983897
Ok(AssistantThread {
38993898
id,

0 commit comments

Comments
 (0)