diff options
| author | kennytm <kennytm@gmail.com> | 2018-05-13 16:15:41 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-13 16:15:41 +0800 |
| commit | e0b7f42b59987b2610d9136da2bcda1d290cdf52 (patch) | |
| tree | f1f67de03d1ca6a3ffc9b4ed2b944b098ce9dd0c /src/rustllvm/RustWrapper.cpp | |
| parent | 6fc409ed0938cd2f501642abcaa675977fa5035a (diff) | |
| parent | 2ae8accd24bec0c4eadba7b02a0a2422b1f1247e (diff) | |
| download | rust-e0b7f42b59987b2610d9136da2bcda1d290cdf52.tar.gz rust-e0b7f42b59987b2610d9136da2bcda1d290cdf52.zip | |
Rollup merge of #50624 - adevore:fs-write-str-example, r=steveklabnik
fs::write: Add example writing a &str This adds an example to the documentation for `fs::write` that demonstrates the use of the `AsRef<[u8]>` implementation for &str. Experienced users should already recognize the possibility from the type signature, but new users may not recognize the significance.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
