diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-09-25 18:15:09 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-25 18:15:09 +0200 |
| commit | fea9196e5271a61dc526246a6ccdc2db0f998603 (patch) | |
| tree | 49118852543474c42710fb3a27c1483a280473d8 /tests/rustdoc/source-code-pages/check-source-code-urls-to-def.rs | |
| parent | 958d1438b6916ade1b89d8527c898254159685c3 (diff) | |
| parent | 56734495e2fd485a7be1ba77da1bf18a0eca4636 (diff) | |
| download | rust-fea9196e5271a61dc526246a6ccdc2db0f998603.tar.gz rust-fea9196e5271a61dc526246a6ccdc2db0f998603.zip | |
Rollup merge of #146293 - BenjaminBrienen:try_remove, r=joboet
feat: non-panicking `Vec::try_remove`
`if index < my_vector.len() { Some(my_vector.remove(index)) } else { None }` is annoying to write and non-panicking functions are broadly useful.
APC: https://github.com/rust-lang/libs-team/issues/649
Tracking issue: https://github.com/rust-lang/rust/issues/146954
Diffstat (limited to 'tests/rustdoc/source-code-pages/check-source-code-urls-to-def.rs')
0 files changed, 0 insertions, 0 deletions
