Use dyn
trait syntax in more comments and docs
#72532
Merged
dyn
trait syntax in more comments and docs
#72532