diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-02-24 22:38:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-24 22:38:58 +0100 |
| commit | ed75229a97d2d7b5f2f3c39ad0006847a8342429 (patch) | |
| tree | 9335f6924b1d7d4c395f77aabeabf0bf04d35a88 /tests/ui/patchable-function-entry/patchable-function-entry-flags.rs | |
| parent | 6bdb8a4a96945527677f4b3dc7161875834189a4 (diff) | |
| parent | e59efe4d7e77bb498d32bc75b46fe7924c3f8270 (diff) | |
| download | rust-ed75229a97d2d7b5f2f3c39ad0006847a8342429.tar.gz rust-ed75229a97d2d7b5f2f3c39ad0006847a8342429.zip | |
Rollup merge of #121343 - Takashiidobe:takashi/examples-for-slice, r=Mark-Simulacrum
Add examples for some methods on slices Adds some examples to some methods on slice. `is_empty` didn't have an example for an empty slice, even though `str` and the collections all have one, so I added that in. `first_mut` and `last_mut` didn't have an example for what happens when the slice is empty, whereas `first` and `last` do, so I added that too.
Diffstat (limited to 'tests/ui/patchable-function-entry/patchable-function-entry-flags.rs')
0 files changed, 0 insertions, 0 deletions
