浏览代码

Make rustdoc link directly to the correct method of SigmaCompSpec

Ian Goldberg 4 月之前
父节点
当前提交
3b24652274
共有 1 个文件被更改,包括 4 次插入3 次删除
  1. 4 3
      sigma_compiler_core/src/lib.rs

+ 4 - 3
sigma_compiler_core/src/lib.rs

@@ -150,9 +150,10 @@ impl VisitMut for StatementFixup {
 
 /// The main function of this macro.
 ///
-/// Parse the macro input with [`parse`](SigmaCompSpec) to produce
-/// a [`SigmaCompSpec`], and then pass that to this function to output
-/// the data structures and code for the ZKP protocol implementation.
+/// Parse the macro input with [`parse`](SigmaCompSpec#method.parse) to
+/// produce a [`SigmaCompSpec`], and then pass that to this function to
+/// output the data structures and code for the ZKP protocol
+/// implementation.
 ///
 /// If `emit_prover` is `true`, output the data structures and code for
 /// the prover side.  If `emit_verifier` is `true`, output the data