about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid <davidgu@users.noreply.github.com>2021-01-23 12:31:40 -0500
committerGitHub <noreply@github.com>2021-01-23 12:31:40 -0500
commit2f5ce8e802aab512f7437bbe3f1192b3104989ee (patch)
tree87d5de309254253616820be8197497e5433b20f1
parent4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 (diff)
downloadrust-2f5ce8e802aab512f7437bbe3f1192b3104989ee.tar.gz
rust-2f5ce8e802aab512f7437bbe3f1192b3104989ee.zip
Fix small typo
-rw-r--r--library/core/src/num/dec2flt/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/num/dec2flt/mod.rs b/library/core/src/num/dec2flt/mod.rs
index 039112e9f34..91c61f814e1 100644
--- a/library/core/src/num/dec2flt/mod.rs
+++ b/library/core/src/num/dec2flt/mod.rs
@@ -3,7 +3,7 @@
 //! # Problem statement
 //!
 //! We are given a decimal string such as `12.34e56`. This string consists of integral (`12`),
-//! fractional (`45`), and exponent (`56`) parts. All parts are optional and interpreted as zero
+//! fractional (`34`), and exponent (`56`) parts. All parts are optional and interpreted as zero
 //! when missing.
 //!
 //! We seek the IEEE 754 floating point number that is closest to the exact value of the decimal