]> git.lizzy.rs Git - rust.git/commitdiff
Update src/libcore/num/dec2flt/mod.rs
authorMazdak Farrokhzad <twingoow@gmail.com>
Sat, 22 Dec 2018 14:43:47 +0000 (09:43 -0500)
committerGitHub <noreply@github.com>
Sat, 22 Dec 2018 14:43:47 +0000 (09:43 -0500)
Co-Authored-By: frewsxcv <coreyf@rwell.org>
src/libcore/num/dec2flt/mod.rs

index 804e5f5e52158be235802599826d9dbeb4d9f41d..8bde41fefd5b162c479e1b1ece2cae6275fb8187 100644 (file)
@@ -129,7 +129,9 @@ impl FromStr for $t {
             ///
             /// # Grammar
             ///
-            /// All strings that adhere to the following EBNF grammar
+            /// [EBNF]: https://www.w3.org/TR/REC-xml/#sec-notation
+            ///
+            /// All strings that adhere to the following [EBNF] grammar
             /// will result in an [`Ok`] being returned:
             ///
             /// ```txt