Apply suggestions from code review
Apply suggestions from code review

Co-authored-by: pierwill <4831b7b76047dda1845a00e83c90d6382e06d5e7@users.noreply.github.com>
aidancully/rust,aidancully/rust,graydon/rust,aidancully/rust,aidancully/rust,graydon/rust,graydon/rust,graydon/rust,aidancully/rust,graydon/rust,graydon/rust,aidancully/rust