Expand docs on Peekable::peek_mut#79478
Conversation
|
Thanks! I think the |
|
I thought about that too and decided on the nested No strong opinion, poke at me and I'll change to an |
|
I feel like the original one (the two ifs) was also fine. |
c5be664 to
6bcd5b8
Compare
6bcd5b8 to
08ec201
Compare
|
agreed |
|
@bors r+ rollup |
|
📌 Commit 08ec201 has been approved by |
…as-schievink Rollup of 10 pull requests Successful merges: - rust-lang#78086 (Improve doc for 'as _') - rust-lang#78853 (rustc_parse: fix ConstBlock expr span) - rust-lang#79234 (Resolve typedefs in HashMap gdb/lldb pretty-printers) - rust-lang#79344 (Convert UNC path to local path to satisfy install script on Windows) - rust-lang#79383 (Fix bold code formatting in keyword docs) - rust-lang#79460 (Remove intermediate vectors from `add_bounds`) - rust-lang#79474 (Change comments on types to doc-comments) - rust-lang#79476 (Sync rustc_codegen_cranelift) - rust-lang#79478 (Expand docs on Peekable::peek_mut) - rust-lang#79486 (Slightly improve code samples in E0591) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Slightly expand docs on
std::iter::Peekable::peek_mut, tracked in #78302r? @m-ou-se