Skip to content

Commit 7d2efaf

Browse files
committed
chore: review snapshots
1 parent 9c9e15c commit 7d2efaf

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

src/skim.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,13 @@ impl Skim {
8080
}
8181

8282
/// Run skim with a Vec of items
83+
///
84+
/// ```no_run
85+
/// use skim::prelude::*;
86+
///
87+
/// let opts = SkimOptionsBuilder::default().multi(true).build().unwrap();
88+
/// Skim::run_items(opts, ["foo", "bar"]);
89+
/// ```
8390
pub fn run_items<I, T>(options: SkimOptions, items: I) -> Result<SkimOutput>
8491
where
8592
I: IntoIterator<Item = T>,

tests/snapshots/matcher__matcher_arinae_typos.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
source: tests/matcher.rs
33
expression: buf + & cursor_pos
44
---
5+
" src/manpage.rs "
56
" src/util.rs "
6-
" src/skim_item.rs "
7-
" src/item.rs "
87
" src/fuzzy_matcher/clangd.rs "
98
" src/fuzzy_matcher/frizbee.rs "
109
" src/fuzzy_matcher/skim.rs "
1110
" src/fuzzy_matcher/util.rs "
1211
" src/fuzzy_matcher/mod.rs "
12+
" src/item.rs "
1313
" src/theme.rs "
1414
" src/tmux.rs "
1515
" src/tui/header.rs "
@@ -24,6 +24,6 @@ expression: buf + & cursor_pos
2424
" src/tui/util.rs "
2525
" src/tui/item_list.rs "
2626
"> src/tui/mod.rs "
27-
" 39/49 0/0"
27+
" 32/49 0/0"
2828
"> stum "
2929
cursor: (24, 7)

0 commit comments

Comments
 (0)