Rollup merge of #64499 - nnethercote:use-Symbol-in-two-more-functions, r=petrochenkov
Rollup merge of #64499 - nnethercote:use-Symbol-in-two-more-functions, r=petrochenkov

Use `Symbol` in two more functions.

r? @petrochenkov

graydon/rust,aidancully/rust,graydon/rust,aidancully/rust,graydon/rust,aidancully/rust,graydon/rust,aidancully/rust,graydon/rust,aidancully/rust,aidancully/rust,graydon/rust