From d1a07e29f2a665e133a8bee4d58666bea8ea40ef Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sat, 15 Jul 2023 13:27:01 -0700 Subject: [PATCH] Fix rustdoc::bare_urls lint in lexical code 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: `` | = note: bare URLs are not automatically turned into clickable links = note: `#[warn(rustdoc::bare_urls)]` on by default --- src/lexical/errors.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lexical/errors.rs b/src/lexical/errors.rs index cad4bd3d5..f4f41cdc5 100644 --- a/src/lexical/errors.rs +++ b/src/lexical/errors.rs @@ -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: use super::float::*; use super::num::*;