Skip to content

Commit

Permalink
Fix rustdoc::bare_urls lint in lexical code
Browse files Browse the repository at this point in the history
    warning: this URL is not a hyperlink
     --> src/lexical/errors.rs:9:9
      |
    9 | //!     https://golang.org/src/strconv/atof.go
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://golang.org/src/strconv/atof.go>`
      |
      = note: bare URLs are not automatically turned into clickable links
      = note: `#[warn(rustdoc::bare_urls)]` on by default
  • Loading branch information
dtolnay committed Jul 15, 2023
1 parent 658689d commit d1a07e2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lexical/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
//! This estimates the error in a floating-point representation.
//!
//! This implementation is loosely based off the Golang implementation,
//! found here:
//! https://golang.org/src/strconv/atof.go
//! found here: <https://golang.org/src/strconv/atof.go>

use super::float::*;
use super::num::*;
Expand Down

0 comments on commit d1a07e2

Please sign in to comment.