cloud-hypervisor/arch
Philipp Schuster 7536a95424 misc: cleanup &Arc<dyn T> -> &dyn T
Consuming `&Arc<T>` as argument is almost always an antipattern as it
hides whether the callee is going to take over (shared) ownership
(by .clone()) or not. Instead, it is better to consume `&dyn T` or
`Arc<dyn T>` to be more explicit. This commit cleans up the code.

The change is very mechanic and was very easy to implement across the
code base.

Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
On-behalf-of: SAP philipp.schuster@sap.com
2025-10-28 17:37:49 +00:00
..
src misc: cleanup &Arc<dyn T> -> &dyn T 2025-10-28 17:37:49 +00:00
Cargo.toml build: upgrade whole* workspace to Rust edition 2024 2025-09-10 18:35:38 +00:00