File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 34
34
with :
35
35
toolchain : ${{ matrix.toolchain }}
36
36
target : ${{ matrix.target }}
37
+ components : rustfmt
37
38
39
+ - run : cargo fmt --check
38
40
- run : cargo build --target=${{ matrix.target }}
39
41
- run : cargo doc --target=${{ matrix.target }}
40
42
# Temporary test non-target only.
Original file line number Diff line number Diff line change @@ -20,10 +20,13 @@ impl fmt::Debug for Config {
20
20
. field ( "buf_id" , & self . buf_id )
21
21
. field ( "filter" , & self . filter )
22
22
. field ( "tag" , & self . tag )
23
- . field ( "custom_format" , match & self . custom_format {
24
- Some ( _) => & "Some(_)" ,
25
- None => & "None" ,
26
- } )
23
+ . field (
24
+ "custom_format" ,
25
+ match & self . custom_format {
26
+ Some ( _) => & "Some(_)" ,
27
+ None => & "None" ,
28
+ } ,
29
+ )
27
30
. finish ( )
28
31
}
29
32
}
You can’t perform that action at this time.
0 commit comments