refactor: use std::slice::from_ref
to remove some clones
#13518
Merged
Loading