Skip to content

Commit d1a07e2

Browse files
committed
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: `<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
1 parent 658689d commit d1a07e2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lexical/errors.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
//! This estimates the error in a floating-point representation.
66
//!
77
//! This implementation is loosely based off the Golang implementation,
8-
//! found here:
9-
//! https://golang.org/src/strconv/atof.go
8+
//! found here: <https://golang.org/src/strconv/atof.go>
109
1110
use super::float::*;
1211
use super::num::*;

0 commit comments

Comments
 (0)