diff options
| author | Jacob Pratt <jacob@jhpratt.dev> | 2025-07-07 03:26:08 +0200 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-07 03:26:08 +0200 | 
| commit | 02da29496566772c0e8d2a7c6b771503a13f5d7d (patch) | |
| tree | 9f0e87de07fb818567d99c37aefe38c23966138c /compiler/rustc_hir_analysis/src | |
| parent | a1b51aa4003354ab4cb129f1ec9c4e4d45ddf803 (diff) | |
| parent | 39575d39c5663af91c327fe33f9459e312d96ae0 (diff) | |
| download | rust-02da29496566772c0e8d2a7c6b771503a13f5d7d.tar.gz rust-02da29496566772c0e8d2a7c6b771503a13f5d7d.zip | |
Rollup merge of #143529 - pixel27:master, r=jhpratt
Renamed retain_mut to retain on LinkedList as mentioned in the ACP This is for proposal: https://github.com/rust-lang/libs-team/issues/250 The original check-in (https://github.com/rust-lang/rust/pull/114136) contained both methods **retain** and **retain_mut**, which does not conform to https://github.com/rust-lang/libs-team/issues/250#issuecomment-1766822671. I updated the retain documentation to specify **&mut e**, removed the **retain** method and renamed **retain_mut** to **retain** to conform to the request. The pull request doesn't really contain much that is new, just removes the unwanted method to meet the requirements. I've run the tests "library/alloc" on the code and no issues. Hopefully I'm not stepping on the original author's toes. I just ran across a need for the method and wondered why it was unstable.
Diffstat (limited to 'compiler/rustc_hir_analysis/src')
0 files changed, 0 insertions, 0 deletions
