about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2019-01-22 22:51:33 -0500
committerGitHub <noreply@github.com>2019-01-22 22:51:33 -0500
commit8af02faab8434d63b6eedb7b5e8f47d0ff0b5e6c (patch)
tree738e2c072ecd461537845529eb8d8aa3ca1d5c12
parent55be692eb8c2facf78892cdafbb898c375be0b94 (diff)
downloadrust-8af02faab8434d63b6eedb7b5e8f47d0ff0b5e6c.tar.gz
rust-8af02faab8434d63b6eedb7b5e8f47d0ff0b5e6c.zip
reposition markdown hyperlink reference
-rw-r--r--src/libcore/num/dec2flt/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/num/dec2flt/mod.rs b/src/libcore/num/dec2flt/mod.rs
index 8bde41fefd5..c137986e684 100644
--- a/src/libcore/num/dec2flt/mod.rs
+++ b/src/libcore/num/dec2flt/mod.rs
@@ -129,8 +129,6 @@ macro_rules! from_str_float_impl {
             ///
             /// # 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 @@ macro_rules! from_str_float_impl {
             /// 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