Skip to content

Commit e501d29

Browse files
committed
remove duplicated format
1 parent a2efd28 commit e501d29

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/commands/snippets.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ async fn autocomplete_snippet<'a>(
2121
.unwrap()
2222
.snippets
2323
.iter()
24-
.map(|s| format!("{}: {}", s.id, s.title))
24+
.map(Snippet::format_output)
2525
.collect()
2626
};
2727

0 commit comments

Comments
 (0)