Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cargo doc warning: "this URL is not a hyperlink" #137

Closed
LeoniePhiline opened this issue Dec 20, 2023 · 0 comments · Fixed by #139
Closed

cargo doc warning: "this URL is not a hyperlink" #137

LeoniePhiline opened this issue Dec 20, 2023 · 0 comments · Fixed by #139

Comments

@LeoniePhiline
Copy link
Contributor

cargo doc raises two "bare URL" warnings:

warning: this URL is not a hyperlink
   --> eyre/src/lib.rs:241:5
    |
241 | //! https://github.com/eyre-rs/eyre/pull/29/commits/608a16aa2c2c27eca6c88001cc94c6973c18f1d5
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://github.com/eyre-rs/eyre/pull/29/commits/608a16aa2c2c27eca6c88001cc94c6973c18f1d5>`
    |
    = 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
   --> eyre/src/lib.rs:317:47
    |
317 | //! [^1]: example and explanation of breakage https://github.com/eyre-rs/eyre/issues/30#issuecomment-647650361
    |                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://github.com/eyre-rs/eyre/issues/30#issuecomment-647650361>`
    |
    = note: bare URLs are not automatically turned into clickable links

warning: `eyre` (lib doc) generated 2 warnings (run `cargo fix --lib -p eyre` to apply 2 suggestions)
LeoniePhiline added a commit to LeoniePhiline/eyre that referenced this issue Dec 20, 2023
thenorili pushed a commit to LeoniePhiline/eyre that referenced this issue Dec 30, 2023
thenorili pushed a commit that referenced this issue Dec 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant