Apply suggestions from code review
Apply suggestions from code review

Co-authored-by: Xiaodi Wu <9d06c3622fd33dbb326b4a8468b678bf421c5d05@users.noreply.github.com>
tkremenek/swift,roambotics/swift,atrick/swift,hooman/swift,parkera/swift,hooman/swift,JGiola/swift,benlangmuir/swift,parkera/swift,tkremenek/swift,xwu/swift,tkremenek/swift,tkremenek/swift,benlangmuir/swift,glessard/swift,roambotics/swift,atrick/swift,glessard/swift,xwu/swift,parkera/swift,hooman/swift,gregomni/swift,parkera/swift,parkera/swift,roambotics/swift,hooman/swift,gregomni/swift,roambotics/swift,xwu/swift,roambotics/swift,tkremenek/swift,parkera/swift,gregomni/swift,xwu/swift,apple/swift,glessard/swift,xwu/swift,parkera/swift,apple/swift,hooman/swift,apple/swift,hooman/swift,ahoppen/swift,atrick/swift,ahoppen/swift,hooman/swift,apple/swift,rudkx/swift,roambotics/swift,JGiola/swift,xwu/swift,glessard/swift,gregomni/swift,glessard/swift,ahoppen/swift,benlangmuir/swift,atrick/swift,apple/swift,JGiola/swift,rudkx/swift,rudkx/swift,ahoppen/swift,ahoppen/swift,parkera/swift,benlangmuir/swift,rudkx/swift,tkremenek/swift,glessard/swift,xwu/swift,rudkx/swift,JGiola/swift,JGiola/swift,gregomni/swift,atrick/swift,gregomni/swift,benlangmuir/swift,benlangmuir/swift,ahoppen/swift,JGiola/swift,rudkx/swift,apple/swift,atrick/swift,tkremenek/swift