diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2020-10-31 17:21:23 -0700 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2021-03-22 17:02:09 -0700 |
| commit | 6fdb8d8b360b91a10045fe74467b98d218b7ffe9 (patch) | |
| tree | 45126060ea5e671e3b79430313bf722e4686f975 /library/alloc | |
| parent | 74db93ed2d0677bbca8ba85617f05eae745363d8 (diff) | |
| download | rust-6fdb8d8b360b91a10045fe74467b98d218b7ffe9.tar.gz rust-6fdb8d8b360b91a10045fe74467b98d218b7ffe9.zip | |
Update signed fmt/-0f32 docs
"semantic equivalence" is too strong a phrasing here, which is why actually explaining what kind of circumstances might produce a -0 was chosen instead.
Diffstat (limited to 'library/alloc')
| -rw-r--r-- | library/alloc/src/fmt.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/library/alloc/src/fmt.rs b/library/alloc/src/fmt.rs index f9424b1d747..439b0adde20 100644 --- a/library/alloc/src/fmt.rs +++ b/library/alloc/src/fmt.rs @@ -157,9 +157,8 @@ //! //! * `+` - This is intended for numeric types and indicates that the sign //! should always be printed. Positive signs are never printed by -//! default, and the negative sign is only printed by default for the -//! `Signed` trait. This flag indicates that the correct sign (`+` or `-`) -//! should always be printed. +//! default, and the negative sign is only printed by default for signed values. +//! This flag indicates that the correct sign (`+` or `-`) should always be printed. //! * `-` - Currently not used //! * `#` - This flag indicates that the "alternate" form of printing should //! be used. The alternate forms are: |
