]> git.lizzy.rs Git - rust.git/commitdiff
reposition markdown hyperlink reference
authorCorey Farwell <coreyf@rwell.org>
Wed, 23 Jan 2019 03:51:33 +0000 (22:51 -0500)
committerGitHub <noreply@github.com>
Wed, 23 Jan 2019 03:51:33 +0000 (22:51 -0500)
src/libcore/num/dec2flt/mod.rs

index 8bde41fefd5b162c479e1b1ece2cae6275fb8187..c137986e684a5b53140f961399489c26045d5c8a 100644 (file)
@@ -129,8 +129,6 @@ impl FromStr for $t {
             ///
             /// # 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:
             ///
@@ -144,6 +142,8 @@ impl FromStr for $t {
             /// Digit  ::= [0-9]
             /// ```
             ///
+            /// [EBNF]: https://www.w3.org/TR/REC-xml/#sec-notation
+            ///
             /// # Known bugs
             ///
             /// In some situations, some strings that should create a valid float