about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2018-12-22 09:43:47 -0500
committerGitHub <noreply@github.com>2018-12-22 09:43:47 -0500
commit55be692eb8c2facf78892cdafbb898c375be0b94 (patch)
tree9160811b15bf75271bbd5e4f309be18d0ddf6d7c
parent1027dc16b941e04611213c7b7e2a6e9de523868a (diff)
downloadrust-55be692eb8c2facf78892cdafbb898c375be0b94.tar.gz
rust-55be692eb8c2facf78892cdafbb898c375be0b94.zip
Update src/libcore/num/dec2flt/mod.rs
Co-Authored-By: frewsxcv <coreyf@rwell.org>
-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