Skip to content

Commit 7f18a3a

Browse files
committed
---
yaml --- r: 236520 b: refs/heads/auto c: a33d61a h: refs/heads/master v: v3
1 parent 91f3b1d commit 7f18a3a

File tree

3 files changed

+14
-34
lines changed

3 files changed

+14
-34
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
88
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
99
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1010
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
11-
refs/heads/auto: abfbea26494e602282f7a06b28a37beb66886e2d
11+
refs/heads/auto: a33d61a4016e484aedb65b3545925d30fc9f2e36
1212
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1313
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336
1414
refs/tags/0.2: 1754d02027f2924bed83b0160ee340c7f41d5ea1

branches/auto/src/libcollections/fmt.rs

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@
218218
//! }
219219
//! ```
220220
//!
221-
//! ### fmt::Display vs fmt::Debug
221+
//! ### `fmt::Display` vs `fmt::Debug`
222222
//!
223223
//! These two formatting traits have distinct purposes:
224224
//!
@@ -358,24 +358,24 @@
358358
//! to ensure padding is applied is to format your input, then use this
359359
//! resulting string to pad your output.
360360
//!
361-
//! ## Sign/#/0
361+
//! ## Sign/`#`/`0`
362362
//!
363363
//! These can all be interpreted as flags for a particular formatter.
364364
//!
365-
//! * '+' - This is intended for numeric types and indicates that the sign
365+
//! * `+` - This is intended for numeric types and indicates that the sign
366366
//! should always be printed. Positive signs are never printed by
367367
//! default, and the negative sign is only printed by default for the
368-
//! `Signed` trait. This flag indicates that the correct sign (+ or -)
368+
//! `Signed` trait. This flag indicates that the correct sign (`+` or `-`)
369369
//! should always be printed.
370-
//! * '-' - Currently not used
371-
//! * '#' - This flag is indicates that the "alternate" form of printing should
370+
//! * `-` - Currently not used
371+
//! * `#` - This flag is indicates that the "alternate" form of printing should
372372
//! be used. The alternate forms are:
373373
//! * `#?` - pretty-print the `Debug` formatting
374-
//! * `#x` - precedes the argument with a "0x"
375-
//! * `#X` - precedes the argument with a "0x"
376-
//! * `#b` - precedes the argument with a "0b"
377-
//! * `#o` - precedes the argument with a "0o"
378-
//! * '0' - This is used to indicate for integer formats that the padding should
374+
//! * `#x` - precedes the argument with a `0x`
375+
//! * `#X` - precedes the argument with a `0x`
376+
//! * `#b` - precedes the argument with a `0b`
377+
//! * `#o` - precedes the argument with a `0o`
378+
//! * `0` - This is used to indicate for integer formats that the padding should
379379
//! both be done with a `0` character as well as be sign-aware. A format
380380
//! like `{:08}` would yield `00000001` for the integer `1`, while the
381381
//! same format would yield `-0000001` for the integer `-1`. Notice that
@@ -390,8 +390,8 @@
390390
//!
391391
//! The default fill/alignment for non-numerics is a space and left-aligned. The
392392
//! defaults for numeric formatters is also a space but with right-alignment. If
393-
//! the '0' flag is specified for numerics, then the implicit fill character is
394-
//! '0'.
393+
//! the `0` flag is specified for numerics, then the implicit fill character is
394+
//! `0`.
395395
//!
396396
//! The value for the width can also be provided as a `usize` in the list of
397397
//! parameters by using the `2$` syntax indicating that the second argument is a

branches/auto/src/test/run-pass/issue-24389.rs

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)