Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

chore(clippy): fix bare urls in abigen #2133

Merged
merged 1 commit into from
Feb 10, 2023

Conversation

georgewhewell
Copy link
Contributor

Motivation

when running cargo doc on a project including Abigen'd files, the following warning is emitted:

warning: this URL is not a hyperlink
 --> src/bindings/uniswap_v2_pair.rs:8:85
  |
8 |     //!UniswapV2Pair was auto-generated with ethers-rs Abigen. More information at: https://github.com/gakonst/ethers-rs
  |                                                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://github.com/gakonst/ethers-rs>`
  |
  = note: bare URLs are not automatically turned into clickable links
  = note: `#[warn(rustdoc::bare_urls)]` on by default

Solution

use automatic link instead

PR Checklist

  • Added Tests
  • Added Documentation
  • Updated the changelog
  • Breaking changes

Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ty

@gakonst gakonst merged commit c0fd832 into gakonst:master Feb 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants