mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 12:36:35 +03:00
5cb9ef390a
Give corrected code This PR adds corrected code for doc examples. I did this in several commits to facilitate review. Don't hesitate to tell me if I forgot some. Also, sometimes I felt it was not necessary to give corrected code, but I maybe wrong. fixes: #4829 changelog: Improve documentation examples across multiple lints.