about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2024-10-18 12:00:52 +0100
committerGitHub <noreply@github.com>2024-10-18 12:00:52 +0100
commit759820e6319b8a6ac2dd11e4515968f93ba21c59 (patch)
tree18d6ee390f21aa4f5a0c2612b807bb4a2bd12192 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parentaae4730c78a966db79d5a76ad1a75c1429eb7f9a (diff)
parent3ed5d5590e12d972acf4ca6a503d0b00f233ad0e (diff)
downloadrust-759820e6319b8a6ac2dd11e4515968f93ba21c59.tar.gz
rust-759820e6319b8a6ac2dd11e4515968f93ba21c59.zip
Rollup merge of #131809 - collinoc:fix-retain-mut-docs, r=jhpratt
Fix predicate signatures in retain_mut docs

This is my first PR here so let me know if I'm doing anything wrong.

The docs for `retain_mut` in `LinkedList` and `VecDeque` say the predicate takes `&e`, but it should be `&mut e` to match the actual signature. `Vec` [has it documented](https://doc.rust-lang.org/std/vec/struct.Vec.html#method.retain_mut) correctly already.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions