diff options
| author | Andreas Hindborg <[email protected]> | 2025-02-27 14:38:10 +0000 |
|---|---|---|
| committer | Miguel Ojeda <[email protected]> | 2025-03-20 20:44:47 +0000 |
| commit | 5928642b11cb6aee8f6250c762857e713e7112da (patch) | |
| tree | d31fb61e1e3b6a18dc299f1073db497a2e693e8e /drivers/gpu/drm/amd/amdgpu/atom.c | |
| parent | rust: str: implement `AsRef<BStr>` for `[u8]` and `BStr` (diff) | |
| download | kernel-5928642b11cb6aee8f6250c762857e713e7112da.tar.gz kernel-5928642b11cb6aee8f6250c762857e713e7112da.zip | |
rust: str: implement `strip_prefix` for `BStr`
Implement `strip_prefix` for `BStr` by deferring to `slice::strip_prefix`
on the underlying `&[u8]`.
Reviewed-by: Gary Guo <[email protected]>
Reviewed-by: Alice Ryhl <[email protected]>
Reviewed-by: Daniel Almeida <[email protected]>
Tested-by: Daniel Almeida <[email protected]>
Signed-off-by: Andreas Hindborg <[email protected]>
Tested-by: Daniel Gomez <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[ Pluralized section name. Hid `use`. - Miguel ]
Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atom.c')
0 files changed, 0 insertions, 0 deletions
