about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-08-24 18:20:10 +0200
committerGitHub <noreply@github.com>2022-08-24 18:20:10 +0200
commite802df9e8b2232b7a105eba75852c55f33019c1b (patch)
treebf97c73aec767dd325f0925606ca319a12a1759e /src/test/codegen/src-hash-algorithm
parentf8e128f8adcdb1c026f47b6ba4db197368122826 (diff)
parentacca4b8f86b1cf7b41236225247b884f6a52d708 (diff)
downloadrust-e802df9e8b2232b7a105eba75852c55f33019c1b.tar.gz
rust-e802df9e8b2232b7a105eba75852c55f33019c1b.zip
Rollup merge of #100855 - IsaacCloos:master, r=joshtriplett
Extra documentation for new formatting feature

Documentation of this feature was added in #90473 and released in Rust 1.58. However, high traffic macros did not receive new examples. Namely `println!()` and `format!()`.

The doc comments included in Rust are super important to the community- especially newcomers. I have met several other newbies like myself who are unaware of this recent (well about 7 months old now) update to the language allowing for convenient intra-string identifiers.

Bringing small examples of this feature to the doc comments of `println!()` and `format!()` would be helpful to everyone learning the language.

[Blog Post Announcing Feature](https://blog.rust-lang.org/2022/01/13/Rust-1.58.0.html)
[Feature PR](https://github.com/rust-lang/rust/pull/90473) - includes several instances of documentation of the feature- minus the macros in question for this PR

*This is my first time contributing to a project this large. Feedback would mean the world to me 😄*

---

*Recreated; I violated the [No-Merge Policy](https://rustc-dev-guide.rust-lang.org/git.html#no-merge-policy)*
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions