about summary refs log tree commit diff
path: root/src/libcore/num
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore/num')
-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