diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2016-06-01 12:57:41 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2016-06-01 12:57:41 +0530 |
| commit | cbfe74c3c8c658fbae368ecb2c221df59541ca55 (patch) | |
| tree | b3c85ef21c51686959fd998aaf718a5e350e0ff5 /src | |
| parent | b0e88279c7fb828deebbf30dd7c6c2909396a30c (diff) | |
| parent | 5c3489204cde1baca36e0af89d9703607036fd8f (diff) | |
| download | rust-cbfe74c3c8c658fbae368ecb2c221df59541ca55.tar.gz rust-cbfe74c3c8c658fbae368ecb2c221df59541ca55.zip | |
Rollup merge of #33606 - tshepang:future-talk, r=brson
doc: format! may or may not handle streams in future No need to talk about that here
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcollections/fmt.rs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/libcollections/fmt.rs b/src/libcollections/fmt.rs index 0ebb89b8a22..6f77d79ab0b 100644 --- a/src/libcollections/fmt.rs +++ b/src/libcollections/fmt.rs @@ -8,19 +8,16 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! Utilities for formatting and printing strings +//! Utilities for formatting and printing `String`s //! //! This module contains the runtime support for the `format!` syntax extension. //! This macro is implemented in the compiler to emit calls to this module in -//! order to format arguments at runtime into strings and streams. +//! order to format arguments at runtime into strings. //! //! # Usage //! //! The `format!` macro is intended to be familiar to those coming from C's -//! printf/fprintf functions or Python's `str.format` function. In its current -//! revision, the `format!` macro returns a `String` type which is the result of -//! the formatting. In the future it will also be able to pass in a stream to -//! format arguments directly while performing minimal allocations. +//! printf/fprintf functions or Python's `str.format` function. //! //! Some examples of the `format!` extension are: //! |
