File tree Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -2,21 +2,22 @@ name: Rust
2
2
3
3
on :
4
4
push :
5
- branches : [ " main" ]
5
+ branches : [' main' ]
6
6
pull_request :
7
- branches : [ " main" ]
7
+ branches : [' main' ]
8
8
9
9
env :
10
10
CARGO_TERM_COLOR : always
11
11
12
12
jobs :
13
13
build :
14
-
15
14
runs-on : ubuntu-latest
16
15
17
16
steps :
18
- - uses : actions/checkout@v3
19
- - name : Build
20
- run : cargo build --verbose
21
- - name : Run tests
22
- run : cargo test --verbose
17
+ - uses : actions/checkout@v3
18
+ - name : Build
19
+ run : cargo build --verbose
20
+ - name : Run tests
21
+ run : cargo test --verbose
22
+ - name : Check code
23
+ run : cargo check --verbose
Original file line number Diff line number Diff line change 1
1
use std:: rc:: Rc ;
2
2
3
- use complogic:: { DLatch , Simulation } ;
3
+ use complogic:: { And , DLatch , Simulation } ;
4
4
5
5
fn main ( ) {
6
6
let mut simulation = Simulation :: new ( 2 ) ;
You can’t perform that action at this time.
0 commit comments