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, 3 insertions, 1 deletions
diff --git a/src/libcore/num/dec2flt/mod.rs b/src/libcore/num/dec2flt/mod.rs
index 804e5f5e521..8bde41fefd5 100644
--- a/src/libcore/num/dec2flt/mod.rs
+++ b/src/libcore/num/dec2flt/mod.rs
@@ -129,7 +129,9 @@ macro_rules! from_str_float_impl {
             ///
             /// # 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