From b85761ea04cdb180188e5d2c68782cd32e9b6f1a Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sat, 11 Dec 2021 21:19:33 -0800 Subject: [PATCH] Link to ryu as successor to dtoa --- README.md | 4 ++-- src/lib.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index fa3d93e..510cb82 100644 --- a/README.md +++ b/README.md @@ -10,13 +10,13 @@ This crate provides a fast conversion of integer primitives to decimal strings. The implementation comes straight from [libcore] but avoids the performance penalty of going through [`core::fmt::Formatter`]. -See also [`dtoa`] for printing floating point primitives. +See also [`ryu`] for printing floating point primitives. *Version requirement: rustc 1.36+* [libcore]: https://github.com/rust-lang/rust/blob/b8214dc6c6fc20d0a660fb5700dca9ebf51ebe89/src/libcore/fmt/num.rs#L201-L254 [`core::fmt::Formatter`]: https://doc.rust-lang.org/std/fmt/struct.Formatter.html -[`dtoa`]: https://github.com/dtolnay/dtoa +[`ryu`]: https://github.com/dtolnay/ryu ```toml [dependencies] diff --git a/src/lib.rs b/src/lib.rs index 0cb7b67..6bede9a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -10,11 +10,11 @@ //! strings. The implementation comes straight from [libcore] but avoids the //! performance penalty of going through [`core::fmt::Formatter`]. //! -//! See also [`dtoa`] for printing floating point primitives. +//! See also [`ryu`] for printing floating point primitives. //! //! [libcore]: https://github.com/rust-lang/rust/blob/b8214dc6c6fc20d0a660fb5700dca9ebf51ebe89/src/libcore/fmt/num.rs#L201-L254 //! [`core::fmt::Formatter`]: https://doc.rust-lang.org/std/fmt/struct.Formatter.html -//! [`dtoa`]: https://github.com/dtolnay/dtoa +//! [`ryu`]: https://github.com/dtolnay/ryu //! //! # Example //!