File tree 2 files changed +28
-1
lines changed
2 files changed +28
-1
lines changed Original file line number Diff line number Diff line change 65
65
- name : Run `cargo fmt`
66
66
run : cargo fmt --all --check
67
67
68
+ rustdoc :
69
+ name : cargo doc
70
+ runs-on : ubuntu-22.04
71
+ timeout-minutes : 30
72
+ env :
73
+ RUSTDOCFLAGS : -Dwarnings
74
+
75
+ steps :
76
+ - name : Checkout
77
+ uses : actions/checkout@v4
78
+
79
+ - name : Setup toolchain
80
+ uses : dtolnay/rust-toolchain@1.85.0
81
+ with :
82
+ targets : x86_64-unknown-linux-gnu
83
+ components : clippy, rustfmt
84
+
85
+ - uses : Swatinem/rust-cache@v2
86
+ with :
87
+ key : x86_64-unknown-linux-gnu
88
+ cache-on-failure : true
89
+ save-if : ${{ github.event_name != 'merge_group' }}
90
+
91
+ - name : Run `cargo doc`
92
+ run : cargo doc --no-deps --document-private-items --workspace
93
+
68
94
eslint :
69
95
name : eslint
70
96
runs-on : ubuntu-22.04
@@ -143,6 +169,7 @@ jobs:
143
169
needs :
144
170
- clippy
145
171
- rustfmt
172
+ - rustdoc
146
173
- eslint
147
174
- nargo_fmt
148
175
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ impl<F: AcirField> NargoError<F> {
85
85
86
86
#[ derive( Debug , Copy , Clone ) ]
87
87
/// The opcode location for a call to a separate ACIR circuit
88
- /// This includes the function index of the caller within a [program][Program]
88
+ /// This includes the function index of the caller within a [program][acvm::acir::circuit:: Program]
89
89
/// and the index in the callers ACIR to the specific call opcode.
90
90
/// This is only resolved and set during circuit execution.
91
91
pub struct ResolvedOpcodeLocation {
You can’t perform that action at this time.
0 commit comments