diff options
author | Andreas Hindborg <a.hindborg@kernel.org> | 2025-02-27 15:38:09 +0100 |
---|---|---|
committer | Miguel Ojeda <ojeda@kernel.org> | 2025-03-20 21:44:47 +0100 |
commit | d2e3f7987d03c6abeeb8890540569c87999bdcc1 (patch) | |
tree | 3af6172cd19a5cd8afa2f3dbc4f8113bfe9d262c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 50a5ff0a95a54d5a710f1f2547ecf8af12b6b83a (diff) | |
download | linux-d2e3f7987d03c6abeeb8890540569c87999bdcc1.tar.gz linux-d2e3f7987d03c6abeeb8890540569c87999bdcc1.tar.bz2 linux-d2e3f7987d03c6abeeb8890540569c87999bdcc1.zip |
rust: str: implement `AsRef<BStr>` for `[u8]` and `BStr`
Implement `AsRef<BStr>` for `[u8]` and `BStr` so these can be used
interchangeably for operations on `BStr`.
Reviewed-by: Gary Guo <gary@garyguo.net>
Tested-by: Daniel Almeida <daniel.almeida@collabora.com>
Reviewed-by: Daniel Almeida <daniel.almeida@collabora.com>
Signed-off-by: Andreas Hindborg <a.hindborg@kernel.org>
Reviewed-by: Fiona Behrens <me@kloenk.dev>
Tested-by: Daniel Gomez <da.gomez@samsung.com>
Link: https://lore.kernel.org/r/20250227-module-params-v3-v8-3-ceeee85d9347@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions