Auto merge of #142728 - kornelski:string-track, r=tgross35

Let String pass #[track_caller] to its Vec calls

I've added `#[track_caller]` to `String` methods that delegate to `Vec` methods that already have `#[track_caller]`.

I've also added `#[track_caller]` to methods that have `assert!` or `panic!` due to invalid inputs.
This commit is contained in:
bors 2025-06-22 23:30:10 +00:00
commit 17abceca1b

Diff Content Not Available