File tree Expand file tree Collapse file tree 3 files changed +25
-19
lines changed
src/question/multi_select Expand file tree Collapse file tree 3 files changed +25
-19
lines changed Original file line number Diff line number Diff line change 7171 - name : test
7272 run : cargo test --workspace --verbose
7373
74- rustfmt :
75- name : rustfmt
76- runs-on : ubuntu-latest
77- steps :
78- - name : checkout_repository
79- uses : actions/checkout@v1
80- with :
81- fetch-depth : 1
82- - name : install_rust
83- uses : hecrj/setup-rust-action@v1
84- with :
85- rust-version : stable
86- - name : install_rustfmt
87- run : rustup component add rustfmt
88- - name : Check formatting
89- run : |
90- cargo fmt -- --check
91-
9274 clippy :
9375 name : clippy
9476 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1+ name : Default
2+
3+ on : [push, pull_request]
4+
5+ env :
6+ CARGO_TERM_COLOR : always
7+
8+ jobs :
9+ rustfmt :
10+ name : rustfmt
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : checkout_repository
14+ uses : actions/checkout@v1
15+ with :
16+ fetch-depth : 1
17+ - name : install_rust
18+ uses : hecrj/setup-rust-action@v1
19+ with :
20+ rust-version : stable
21+ - name : install_rustfmt
22+ run : rustup component add rustfmt
23+ - name : Check formatting
24+ run : |
25+ cargo fmt -- --check
Original file line number Diff line number Diff line change @@ -153,7 +153,6 @@ impl widgets::List for MultiSelect<'_> {
153153 write ! ( b, " " ) ?;
154154 }
155155
156-
157156 if hovered {
158157 b. set_fg ( Color :: Cyan ) ?;
159158 } else {
You can’t perform that action at this time.
0 commit comments