diff options
| author | kennytm <kennytm@gmail.com> | 2018-09-07 13:47:05 +0800 |
|---|---|---|
| committer | kennytm <kennytm@gmail.com> | 2018-09-07 15:26:26 +0800 |
| commit | 846a0bd1b92c7b3db112bfc9677c32e0976fb0cc (patch) | |
| tree | 39cde32ff93765a53fdc05d01494afa8e6a9ed72 /src/test/incremental/thinlto | |
| parent | 9804689b587c698e718ccdf91d7dbed4cd3dea50 (diff) | |
| parent | 9d440d578d3ec724cae93d9fac3a2701724e780a (diff) | |
| download | rust-846a0bd1b92c7b3db112bfc9677c32e0976fb0cc.tar.gz rust-846a0bd1b92c7b3db112bfc9677c32e0976fb0cc.zip | |
Rollup merge of #53299 - MagnumOpus21:fix-macro-write, r=steveklabnik
Updated core/macros.rs to note it works in a no_std environment. Fixes #45797 This PR updates the documentation of `write!` to note it works in a `no_std` environment, and adds an example to showcase this. In a `no_std` environment, the author of the code is responsible for the implementation of the `Write` trait. This example will work out of the box with `no_std`, but the implementation of `Write` is expected to be provided by the user. r? @steveklabnik
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
