File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 429
429
//! For example, these:
430
430
//!
431
431
//! ```
432
- //! // Hello {arg 0 (x)} is {arg 1 (0.01} with precision specified inline (5)}
432
+ //! // Hello {arg 0 (x)} is {arg 1 (0.01) with precision specified inline (5)}
433
433
//! println!("Hello {0} is {1:.5}", "x", 0.01);
434
434
//!
435
- //! // Hello {arg 1 (x)} is {arg 2 (0.01} with precision specified in arg 0 (5)}
435
+ //! // Hello {arg 1 (x)} is {arg 2 (0.01) with precision specified in arg 0 (5)}
436
436
//! println!("Hello {1} is {2:.0$}", 5, "x", 0.01);
437
437
//!
438
- //! // Hello {arg 0 (x)} is {arg 2 (0.01} with precision specified in arg 1 (5)}
438
+ //! // Hello {arg 0 (x)} is {arg 2 (0.01) with precision specified in arg 1 (5)}
439
439
//! println!("Hello {0} is {2:.1$}", "x", 5, 0.01);
440
440
//!
441
- //! // Hello {next arg (x)} is {second of next two args (0.01} with precision
441
+ //! // Hello {next arg (x)} is {second of next two args (0.01) with precision
442
442
//! // specified in first of next two args (5)}
443
443
//! println!("Hello {} is {:.*}", "x", 5, 0.01);
444
444
//!
445
- //! // Hello {next arg (x)} is {arg 2 (0.01} with precision
445
+ //! // Hello {next arg (x)} is {arg 2 (0.01) with precision
446
446
//! // specified in its predecessor (5)}
447
447
//! println!("Hello {} is {2:.*}", "x", 5, 0.01);
448
448
//! ```
You can’t perform that action at this time.
0 commit comments