File tree 1 file changed +3
-6
lines changed
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 8
8
// option. This file may not be copied, modified, or distributed
9
9
// except according to those terms.
10
10
11
- //! Utilities for formatting and printing strings
11
+ //! Utilities for formatting and printing `String`s
12
12
//!
13
13
//! This module contains the runtime support for the `format!` syntax extension.
14
14
//! This macro is implemented in the compiler to emit calls to this module in
15
- //! order to format arguments at runtime into strings and streams .
15
+ //! order to format arguments at runtime into strings.
16
16
//!
17
17
//! # Usage
18
18
//!
19
19
//! The `format!` macro is intended to be familiar to those coming from C's
20
- //! printf/fprintf functions or Python's `str.format` function. In its current
21
- //! revision, the `format!` macro returns a `String` type which is the result of
22
- //! the formatting. In the future it will also be able to pass in a stream to
23
- //! format arguments directly while performing minimal allocations.
20
+ //! printf/fprintf functions or Python's `str.format` function.
24
21
//!
25
22
//! Some examples of the `format!` extension are:
26
23
//!
You can’t perform that action at this time.
0 commit comments