File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 3434 with :
3535 toolchain : ${{ matrix.toolchain }}
3636 target : ${{ matrix.target }}
37+ components : rustfmt, clippy
3738
39+ - run : cargo fmt --check
40+ - run : cargo clippy --target=${{ matrix.target }} -- -Dwarnings
3841 - run : cargo build --target=${{ matrix.target }}
3942 - run : cargo doc --target=${{ matrix.target }}
43+ env :
44+ RUSTDOCFLAGS : -Dwarnings
4045 # Temporary test non-target only.
4146 # TODO: Test in emulator or something.
4247 - run : cargo test
Original file line number Diff line number Diff line change @@ -20,10 +20,13 @@ impl fmt::Debug for Config {
2020 . field ( "buf_id" , & self . buf_id )
2121 . field ( "filter" , & self . filter )
2222 . 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+ )
2730 . finish ( )
2831 }
2932}
You can’t perform that action at this time.
0 commit comments