about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJakub Stasiak <jakub@stasiak.at>2025-08-11 16:42:09 +0200
committerJakub Stasiak <jakub@stasiak.at>2025-08-11 16:42:09 +0200
commit2f796d9021990cea2cd6de71155e05263e9ce3a2 (patch)
tree497899fbc2dddc3699271c5ad1ae102b9b6fee45
parentfb04c5e471c747790dc5a3d69b96b0292432fe3d (diff)
downloadrust-2f796d9021990cea2cd6de71155e05263e9ce3a2.tar.gz
rust-2f796d9021990cea2cd6de71155e05263e9ce3a2.zip
Make a James Bond reference
-rw-r--r--library/core/src/num/dec2flt/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/core/src/num/dec2flt/mod.rs b/library/core/src/num/dec2flt/mod.rs
index 93042bbf491..3118a6e5ca6 100644
--- a/library/core/src/num/dec2flt/mod.rs
+++ b/library/core/src/num/dec2flt/mod.rs
@@ -124,8 +124,8 @@ macro_rules! from_str_float_impl {
             /// * '2.5E-10'
             /// * '5.'
             /// * '.5', or, equivalently, '0.5'
-            /// * '5'
-            /// * '005'
+            /// * '7'
+            /// * '007'
             /// * 'inf', '-inf', '+infinity', 'NaN'
             ///
             /// Note that alphabetical characters are not case-sensitive.