cargo fmt

This commit is contained in:
2026-04-29 23:20:25 +09:00
parent 3fc65e6f6b
commit f31c58dccd
18 changed files with 96 additions and 104 deletions
+3 -1
View File
@@ -460,7 +460,9 @@ impl App {
// single text segment.
let segments = item
.get("segments")
.and_then(|v| serde_json::from_value::<Vec<Segment>>(v.clone()).ok())
.and_then(|v| {
serde_json::from_value::<Vec<Segment>>(v.clone()).ok()
})
.unwrap_or_else(|| {
if text.is_empty() {
Vec::new()