The original logs are:
```
warning: unresolved link to `1`
  --> 
/root/sunhe/incubator-teaclave/third_party/rust-sgx-sdk/sgx_rand/src/chacha.rs:27:65
   |
27 | /// A random number generator that uses the ChaCha20 algorithm [1].
   |                                                                 ^ no item 
named `1` in scope
   |
   = help: to escape `[` and `]` characters, add '\' before them like 
`\[` or `\]`
   = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default

warning: unresolved link to `1`
  --> 
/root/sunhe/incubator-teaclave/third_party/rust-sgx-sdk/sgx_rand/src/chacha.rs:34:6
   |
34 | /// [1]: D. J. Bernstein, [*ChaCha, a variant of
   |      ^ no item named `1` in scope
   |
   = help: to escape `[` and `]` characters, add '\' before them like 
`\[` or `\]`

warning: unresolved link to `1`
  --> 
/root/sunhe/incubator-teaclave/third_party/rust-sgx-sdk/sgx_rand/src/distributions/exponential.rs:27:40
   |
27 | /// Implemented via the ZIGNOR variant[1] of the Ziggurat method. The
   |                                        ^ no item named `1` in scope
   |
   = help: to escape `[` and `]` characters, add '\' before them like 
`\[` or `\]`

warning: unresolved link to `1`
  --> 
/root/sunhe/incubator-teaclave/third_party/rust-sgx-sdk/sgx_rand/src/distributions/exponential.rs:31:6
   |
31 | /// [1]: Jurgen A. Doornik (2005). [*An Improved Ziggurat Method to
   |      ^ no item named `1` in scope
   |
   = help: to escape `[` and `]` characters, add '\' before them like 
`\[` or `\]`

warning: unresolved link to `1`
  --> 
/root/sunhe/incubator-teaclave/third_party/rust-sgx-sdk/sgx_rand/src/distributions/gamma.rs:38:68
   |
38 | /// The algorithm used is that described by Marsaglia & Tsang 2000[1],
   |                                                                    ^ no 
item named `1` in scope
   |
   = help: to escape `[` and `]` characters, add '\' before them like 
`\[` or `\]`

warning: unresolved link to `1`
  --> 
/root/sunhe/incubator-teaclave/third_party/rust-sgx-sdk/sgx_rand/src/distributions/gamma.rs:40:59
   |
40 | /// == 1`, and using the boosting technique described in [1] for
   |                                                           ^ no item named 
`1` in scope
   |
   = help: to escape `[` and `]` characters, add '\' before them like 
`\[` or `\]`

warning: unresolved link to `1`
  --> 
/root/sunhe/incubator-teaclave/third_party/rust-sgx-sdk/sgx_rand/src/distributions/gamma.rs:53:6
   |
53 | /// [1]: George Marsaglia and Wai Wan Tsang. 2000. "A Simple Method
   |      ^ no item named `1` in scope
   |
   = help: to escape `[` and `]` characters, add '\' before them like 
`\[` or `\]`

warning: unresolved link to `1`
  --> 
/root/sunhe/incubator-teaclave/third_party/rust-sgx-sdk/sgx_rand/src/distributions/normal.rs:27:40
   |
27 | /// Implemented via the ZIGNOR variant[1] of the Ziggurat method.
   |                                        ^ no item named `1` in scope
   |
   = help: to escape `[` and `]` characters, add '\' before them like 
`\[` or `\]`

warning: unresolved link to `1`
  --> 
/root/sunhe/incubator-teaclave/third_party/rust-sgx-sdk/sgx_rand/src/distributions/normal.rs:29:6
   |
29 | /// [1]: Jurgen A. Doornik (2005). [*An Improved Ziggurat Method to
   |      ^ no item named `1` in scope
   |
   = help: to escape `[` and `]` characters, add '\' before them like 
`\[` or `\]`

warning: unresolved link to `1`
  --> 
/root/sunhe/incubator-teaclave/third_party/rust-sgx-sdk/sgx_rand/src/isaac.rs:33:61
   |
33 | /// A random number generator that uses the ISAAC algorithm[1].
   |                                                             ^ no item 
named `1` in scope
   |
   = help: to escape `[` and `]` characters, add '\' before them like 
`\[` or `\]`

warning: unresolved link to `1`
  --> 
/root/sunhe/incubator-teaclave/third_party/rust-sgx-sdk/sgx_rand/src/isaac.rs:40:6
   |
40 | /// [1]: Bob Jenkins, [*ISAAC: A fast cryptographic random number
   |      ^ no item named `1` in scope
   |
   = help: to escape `[` and `]` characters, add '\' before them like 
`\[` or `\]`

warning: unresolved link to `1`
   --> 
/root/sunhe/incubator-teaclave/third_party/rust-sgx-sdk/sgx_rand/src/isaac.rs:312:50
    |
312 | /// A random number generator that uses ISAAC-64[1], the 64-bit
    |                                                  ^ no item named `1` in 
scope
    |
    = help: to escape `[` and `]` characters, add '\' before them like 
`\[` or `\]`

warning: unresolved link to `1`
   --> 
/root/sunhe/incubator-teaclave/third_party/rust-sgx-sdk/sgx_rand/src/isaac.rs:320:6
    |
320 | /// [1]: Bob Jenkins, [*ISAAC: A fast cryptographic random number
    |      ^ no item named `1` in scope
    |
    = help: to escape `[` and `]` characters, add '\' before them like 
`\[` or `\]`

warning: unresolved link to `1`
   --> 
/root/sunhe/incubator-teaclave/third_party/rust-sgx-sdk/sgx_rand/src/lib.rs:538:17
    |
538 | /// An Xorshift[1] random number
    |                 ^ no item named `1` in scope
    |
    = help: to escape `[` and `]` characters, add '\' before them like 
`\[` or `\]`

warning: unresolved link to `1`
   --> 
/root/sunhe/incubator-teaclave/third_party/rust-sgx-sdk/sgx_rand/src/lib.rs:545:6
    |
545 | /// [1]: Marsaglia, George (July 2003). ["Xorshift
    |      ^ no item named `1` in scope
    |
    = help: to escape `[` and `]` characters, add '\' before them like 
`\[` or `\]`

warning: this URL is not a hyperlink
   --> 
/root/sunhe/incubator-teaclave/third_party/rust-sgx-sdk/sgx_rand/src/lib.rs:147:9
    |
147 |     /// http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/ARTICLES/dSFMT.pdf
    |         
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an 
automatic link instead: 
`<http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/ARTICLES/dSFMT.pdf>`
    |
    = note: bare URLs are not automatically turned into clickable links
    = note: `#[warn(rustdoc::bare_urls)]` on by default

warning: this URL is not a hyperlink
   --> 
/root/sunhe/incubator-teaclave/third_party/rust-sgx-sdk/sgx_rand/src/lib.rs:148:9
    |
148 |     /// 
http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/SFMT/dSFMT-slide-e.pdf
    |         
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: 
use an automatic link instead: 
`<http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/SFMT/dSFMT-slide-e.pdf>`
    |
    = note: bare URLs are not automatically turned into clickable links


```
You can view, comment on, or merge this pull request online at:

  https://github.com/apache/incubator-teaclave-sgx-sdk/pull/435

-- Commit Summary --

  * Remove cargo doc warnings

-- File Changes --

    M sgx_rand/src/chacha.rs (4)
    M sgx_rand/src/distributions/exponential.rs (4)
    M sgx_rand/src/distributions/gamma.rs (6)
    M sgx_rand/src/distributions/normal.rs (4)
    M sgx_rand/src/isaac.rs (8)
    M sgx_rand/src/lib.rs (8)

-- Patch Links --

https://github.com/apache/incubator-teaclave-sgx-sdk/pull/435.patch
https://github.com/apache/incubator-teaclave-sgx-sdk/pull/435.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave-sgx-sdk/pull/435
You are receiving this because you are subscribed to this thread.

Message ID: <apache/incubator-teaclave-sgx-sdk/pull/4...@github.com>

Reply via email to