diff options
author | Wedson Almeida Filho <[email protected]> | 2022-12-28 06:03:42 +0000 |
---|---|---|
committer | Miguel Ojeda <[email protected]> | 2023-01-16 22:20:24 +0100 |
commit | f75cb6fce4c91847d3b7cf2c5fc7c8eb4bc2d8f0 (patch) | |
tree | a10985c0522079bea9c407d05b00b4a2de3c3a15 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 53528772fb5a174c8606cdf0047ac4899ce05be7 (diff) |
rust: sync: allow coercion from `Arc<T>` to `Arc<U>`
The coercion is only allowed if `U` is a compatible dynamically-sized
type (DST). For example, if we have some type `X` that implements trait
`Y`, then this allows `Arc<X>` to be coerced into `Arc<dyn Y>`.
Suggested-by: Gary Guo <[email protected]>
Signed-off-by: Wedson Almeida Filho <[email protected]>
Reviewed-by: Alice Ryhl <[email protected]>
Reviewed-by: Gary Guo <[email protected]>
Reviewed-by: Vincenzo Palazzo <[email protected]>
Acked-by: Boqun Feng <[email protected]>
Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions